Post marked as unsolved
5
Views
I just downloaded the new Xcode 12.5 RC1 build and I believe I've found a new regression.
If your project depends on a SPM package that uses Git LFS, Xcode will now fail to clone the package and your project's package resolution step will fail.
I've made a trivial repro case, available here:
https://github.com/mthole/XcodeAndSpmLfsIssue
In the above case, my package depends on another "dummy" package which has a screenshot stored in it via LFS. This works fine in Xcode 12.4 and in Xcode 12.5 beta 3, but fails in Xcode 12.5 RC1.
The error in Xcode 12.5 RC1:
Downloading Screen Shot 2021-04-22 at 11.04.55 AM.png (255 KB)
Error downloading object: Screen Shot 2021-04-22 at 11.04.55 AM.png (29c1070): Smudge error: Error downloading Screen Shot 2021-04-22 at 11.04.55 AM.png (29c10709f07bd2aad0aad6f65dab80b9bd8963c91ef5df6b00399b691a1cde09): error transferring "29c10709f07bd2aad0aad6f65dab80b9bd8963c91ef5df6b00399b691a1cde09": [0] remote missing object 29c10709f07bd2aad0aad6f65dab80b9bd8963c91ef5df6b00399b691a1cde09
Errors logged to /Users/mthole/Library/Developer/Xcode/DerivedData/XcodeAndSpmBugExample-fjigmzvqqryrzjajmyakiqsmwbdh/SourcePackages/checkouts/DummyPackageWithLFS/.git/lfs/logs/20210422T111110.295347.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: Screen Shot 2021-04-22 at 11.04.55 AM.png: smudge filter lfs failed
Post marked as unsolved
1
Views
A couple days ago my xcode started crashing anytime I tried to open an existing project and the next button was greyed out when I tried to create a new project. Now, I cant even open the app. Please help
Post marked as solved
337
Views
Since the 20th of April, 2021 my apps have been sporadically (1 in 2) failing for the ITMS-90725 issue and is explained as follows:
ITMS-90725: SDK Version Issue - This app was built with the iOS SDK. All iOS apps submitted to the App Store must be built with the iOS 13 SDK or later, included in Xcode 11 or later. Further, starting April 26, 2021 iOS apps submitted to the App Store must be built with the iOS 14 SDK or later, included in Xcode 12 or later.
Which is very odd as I'm using XCode 12.4, has anyone else experienced this issue and/or fixed it?
Post marked as unsolved
67
Views
I am trying to open the swift file so that I can Ctrl + Drag from the image cell into the swift file that I generated.
The file was generated by New File - Cocao Touch class, previously.
With the main.storyboard open and then choosing Assistant, I get the ViewController.h for the scene I am in and not the ExploreCell.swift file that I have just generated.
The book I am following as I am a beginner, says that I should set the file as automatic but I can't seem to be able to do that.
What am I doing wrong?
Post marked as unsolved
1
Views
Make sure gpu capture is set to "Automically Enabled" and "Profile GPU Trace after Capture" in Xcode 12.2 and 12.4
Run an iOS app
Do a GPU capture
Try to go to look at Counters and they're not there.
Save capture out via "Export"
Reopen capture, and now Counters are there
I see the "Counters" pane have a spinner for a short amount of time after doing step 2, but the Counters are never filled out. I don't want to have to exit my app to look at captures, since I need to look at multiple captures over the course of a session.
Post marked as unsolved
414
Views
Hi, i'm trying to test my pod that has been working fine until I upgraded to Xcode 12. Now when I try to test a function in my Test projet, I get this message:
Cannot test target “TestProject” on “iPhone 11 Pro”: TestProject does not support any of iPhone 11 Pro’s architectures: x86_64.
I have a FAT library that contains arm64 & x86_64 architectures.
In my test target Architecture Build Settings I have "$(ARCHS_STANDARD)" variable.
Post marked as unsolved
6
Views
The issue here is Our App is not working in all the iPhone simulators with the iOS versions 13.3, 12.0 ,14.0,14.2 etc . but it is working as expected in all the real physical iPhone devices such as iPhone XR, iPhone 11, iPhone 12, iPhone6s etc.
Earlier it is used to work fine in all the simulators , i have updated the Xcode 11.3 to Xcode 12. After that my app is not working in iPhone simulators and i'm getting this error "Failed to build module 'LPMessagingSDK' from its module interface; the compiler that produced it, 'Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)'"
I already tried by removing the all the content in derived data folder and cleaned the project as well. Even i tested all the iPhone simulators but still app is not working in simulators and getting this error message Failed to build module 'LPMessagingSDK' from its module interface; the compiler that produced it, 'Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)'"
Please let me know if this issue with XCode12 or with third party library "LPMessagingSDK" ?
Post marked as unsolved
31
Views
What will happen in case if I submit an application using Xcode 11 today(April 22) and going to release it after April 26, 2021?
Is there a chance that my update will be rejected event if it is already pushed to AppStoreConnect?
Post marked as unsolved
9
Views
The error is as follows:
PreviewUpdateTimedOutError: Updating took more than 5 seconds
Updating a preview from ContentView_Previews in ***.app (23150) took more than 5 seconds.
This is just a new "Hello world" project. It can't be previewed on a real device.
Somebody can help me?plz,orz,orz! I'm going crazy!!!
Post marked as unsolved
10
Views
Hi all,
I need to add 4 xcframeworks to my project (https://github.com/Adobe-Marketing-Cloud/acp-sdks).
All is well, but when I try to build the project I get the following error.
ProcessXCFramework /Users/.../Adobe/ACPMobileServices.xcframework (in target 'BBComponents' from project 'BBComponents')
cd /Users/.../BBComponents
builtin-process-xcframework --xcframework /Users/.../Adobe/ACPMobileServices.xcframework --platform ios --target-path /Users/.../DerivedData/RuleThemAll-bioqydlyyehouvhccqiqnkchgfrq/Build/Products/DEV-iphoneos
error: “.DS_Store” couldn’t be copied to “include” because an item with the same name already exists. (in target 'BBComponents' from project 'BBComponents')
I already tried to delete the .DS_Store files, but those just keep popping up.
If I however manually copy the different header files to the build output directory, it works.
But of course this is not a solution we can use within our team.
Any help is much appreciated.
Kind regards,
Frederik
Post marked as unsolved
2.7k
Views
I was happy to use XCode 8.3 with XVim plugin. But, since one of my colleagues introduced the new "availability" check syntax newly available to Objective-C, I have to upgrade my XCode to 9.1 to be able to compile the project. However, I am so used to the vim key-bindings. So, I still keep my XCode 8.3 to edit code, but use XCode 9.1 to run the project, which, to some degree, is kind of annoying. So, I am wondering will XCode officially support a vim plugin one day?
Post marked as unsolved
26
Views
An exception has occurred: Remote host terminated the handshake
Communication error. Please use diagnostic mode to check connectivity. You need to have outbound access to TCP port 443.
Could not connect to Apple's web service.
i al ready trie update java, turn off firewalls, change my network and i cant upload the app throught xcode 12.4 from bigsur 11.2.3 and i tried to transporter with the same error
Post marked as unsolved
13
Views
We used Locale::usesMetricSystem to distinguish between metric and Imperial(US) measurement systems. We set "-AppleLocale en_US" as launch argument for App in UITests but usesMetricSystem still returns true in case user's locale are not equal to "US" in System Preferences - Language and Region - Region.
Here is a demo project to illustrate the issue: https://github.com/yuri-qualtie/UseMetricSystemDemo
Precondition: Change user region to not US(for example Australia) in System Preferences - Language and Region - Region
We expect that code:
print(Locale.current.usesMetricSystem)
prints false when -AppleLocale en_US is set but actual result is true
Probably there is alternative way how to change measurement system via launch arguments or App's settings in Xcode?
Post marked as unsolved
28
Views
Before adding the sandbox entitlement to the exec file, the app ran perfectly. After adding the entitlement properties below, I get an error:
my.sh: line 2: 41382 Killed: 9 $1 $2 "$3" $4 "$5"
Entitlement properties added:
keycom.apple.security.app-sandbox/key
true/
keycom.apple.security.inherit/key
true/
I'm signing with my Apple Development identity. I tried also by signing with my 3rd Party Mac Developer Application.
Lastly, I am running this exec through a plugin, I don't know if that could be the cause of the error. Please help.
Post marked as unsolved
853
Views
Hello! I am installing Xcode 12 on an external solid state drive due to low storage on the main hard drive on my Mac. However, I cannot figure out how to get it to finish the unzipping process. As of now, it has been unzipping for the past two hours. Is this supposed to happen? Does anyone have suggestions on how to get it to finish the unzipping process, so I can use it? Thanks!