Post

Replies

Boosts

Views

Activity

Comment on Main storyboard not visible in XCode
No, all panels are white. Also, other projects ( including an earlier version of the project showing the problem) show main.storyboard OK. Another symptom is that clicking Info does not show the info.plist content. Launch.storyboard does not show either, and clicking the Project name does not show Targets and Project Properties. Maybe there's something wrong with how Xcode is parsing the xml in the problem project. Will try merging other files from the problem project into the earlier version.
Oct ’22
Comment on Xcode 11, Command CodeSign failed with a nonzero exit code
I got this message after adding a .png file saved from Paintbrush to my project. A png downloaded from the internet was fine. xattr -c filename fixed the problem for me.
Replies
Boosts
Views
Activity
Oct ’21
Comment on Error when debugging: Cannot create Swift scratch context
Tried this (command entered in Terminal) but changing shell to bash did not fix the problem using Xcode 12.3 on Catalina. When starting terminal the message "The default interactive shell is now zsh" even the window is captioned -bash and current shell obtained by echo $SHELL is bash
Replies
Boosts
Views
Activity
Apr ’22
Comment on Error when debugging: Cannot create Swift scratch context
Running Xcode from terminal with "open project.xcodeproj" in project.xcodeproj folder after changing shell to bash worked ... looks as though Xcode picks up its shell from somewhere else
Replies
Boosts
Views
Activity
Apr ’22
Comment on Error when debugging: Cannot create Swift scratch context
XCode works OK on different account, even when run from Launchpad. Running from Terminal didn't help on main dev account
Replies
Boosts
Views
Activity
Apr ’22
Comment on Entering debugger: Cannot create Swift scratch context (couldn't create a ClangImporter)
This problem appeared during Swift development of an iOS app using a new account with default shell set to bash (after the problem appeared in the main dev account) , so the shell is not the whole story. Tried restarting Xcode (v 12.3 running on Catalina) - no change.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Entering debugger: Cannot create Swift scratch context (couldn't create a ClangImporter)
The problem then disappeared and debugger started working again ...
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Xcode - How to remove simulator
On Xcode 12.3 no gear icon but selecting simulator and tapping cmd-click shows a context menu with delete as an option
Replies
Boosts
Views
Activity
May ’22
Comment on Cannot create Swift scratch context (couldn't create a ClangImporter)
Problem has recurred and wasn't fixed by restarting Xcode. Video transcript wasn't helpful unfortunately except to indicate that lldb is very complicated and the problem is something to do with linking
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Cannot create Swift scratch context (couldn't create a ClangImporter)
Problem appears with iOS 12.4 simulator for iPhone 6 but does not appear using device
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Xcode 13 "Missing package product" using local Swift Packages
Removed and re-added the package. This worked
Replies
Boosts
Views
Activity
Jun ’22
Comment on Cannot create Swift scratch context (couldn't create a ClangImporter)
Problem appeared with device as well as simulator . Tried removing all the project-alphabeticstring folder from XCode DerivedData folder. I then had to delete and reload a Swift Package used by the project to make the project build without reporting a missing package. This fixed the problem when using the device but not when using the simulator.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on Cannot create Swift scratch context (couldn't create a ClangImporter)
Problem has now re-appeared with device after deleting the the project-alphabetic folder from DerivedData. Closing and reopening XCode seems to fix the problem but app gave a "Swift Package not found" message, which then disappeared and project ran with debugger working. Very strange.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on Main storyboard not visible in XCode
No, all panels are white. Also, other projects ( including an earlier version of the project showing the problem) show main.storyboard OK. Another symptom is that clicking Info does not show the info.plist content. Launch.storyboard does not show either, and clicking the Project name does not show Targets and Project Properties. Maybe there's something wrong with how Xcode is parsing the xml in the problem project. Will try merging other files from the problem project into the earlier version.
Replies
Boosts
Views
Activity
Oct ’22
Comment on Main storyboard not visible in XCode
Tried re-installing Xcode - problem still present
Replies
Boosts
Views
Activity
Oct ’22
Comment on iOS App does not appear in App Store search results
Bottom-ranked results for iOS App Store searches for "Caption Photos" all show results from developers with at least two apps available, even though they may have no ratings or reviews. Does the number of apps a developer has available in the App Store influence search result rankings?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’22