When I drag folders from other Xcode projects , in pre Xcode 13 versions the files used to compile just fine. But in Xcode 13 they don't. The folder is also colored blue.
This happens when creating a reference or copying the files.
When trying to use types in the folder autocomplete show the error : "this completion is from a module that has not been imported".
The issue persists , wether I drag from finder or another Xcode projects.
The files in the folder don't have a target membership option , only the folder does. Even though it is checked , the modules are not imported.
Post
Replies
Boosts
Views
Activity
The Xcode Canvas Simulator (for Xcode 14 and even 15 ..beta 6) cause multiple springboard and diagnosticd processes to run at nearly 100% CPU , cause the MacBook M1 to heat. This happens every time.
This is usually triggered after the Canvas show an error which live previewing the code as I edit it.
I have tried clearing the derived data but it doesn't seem to help. This happens with all projects. I am unable to use live previews because of this issue.
The are often other processes with the string Poster in them. Like PhotosPosterProvider , CollectionsPoster , ExtragalacticPoster running high on usage at the same time.
I am following the instructions at : https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes.
When I run
sudo xcrun simctl runtime add "/Users/<user_name>/Downloads/iOS_17.0.1_Simulator_Runtime.dmg"
I get an error :
(1) Operation not permitted
Accessing '/Users/<user_name>/Downloads/iOS_17.0.1_Simulator_Runtime.dmg' requires Security & Privacy approval.
I get the same error even if
Xcode in the Applications folder or the Downloads folder.
If the .dmg is mounted or not.
How can grant access to the .dmg ?
The triple click accessibility shortcut is assigned to trigger the assistive touch icon , this works very rarely as intended and triggers the shut down screen.
I have tried assigning different shortcuts but it the shut down screen is always triggered.
On restarting the phone , it seems to work a few more times as intended , but then again reverts to the bugged state.
I have create a feedback (FB13459492) for this in December 2023 but haven't received any reply. Updated recently with a screen recording.
Xcode 16 RC , when copying a folder with the option Reference files in place , causes build errors for various files. The error states :
Multiple commands produce <some_file_path>.
The Xcode 16 Betas did not have the same issue.
If I choose the option Convert to Folder and then toggle the build rules in the File inspector , the errors cease and the build is successful. Even after reverting back to groups using Convert to Group , the build is still successful. However when I run , the folder contents are still not detected in either case.