You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've looked but haven't been able to find these issues referenced anywhere.
I'm migrating from xcversion to xcodes because of xcpretty/xcode-install#466.
Unfortunately I'm running into lots of issues with the iOS 13 and 14 runtimes. iOS 12 works properly.
I've seen 2 different issues in CI:
Library not loaded: @rpath/XCTest.framework/XCTest
Referenced from: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/Frameworks/StoreKitTest.framework/StoreKitTest
Reason: Incompatible library version: StoreKitTest requires version 1.0.0 or later, but XCTest provides version 0.0.0))
Process spawn via launchd failed.
xctest encountered an error (Failed to install or launch the test runner. If you believe this error represents a bug, please attach the result bundle at /Users/distiller/purchases-ios/fastlane/test_output/xctest/ios/RevenueCat.xcresult. (Underlying Error: Process spawn via launchd failed. Bad file descriptor. (Underlying Error: The operation couldn't be completed. (Mach error 9 - (os/kern) memory failure))))
I'm able to reproduce this in CI (CircleCI), locally on command line, but interestingly enough also when running tests with Xcode on a simulator created from that runtime.
Installing the runtime directly from Xcode does work properly, so I'm very puzzled as to what's wrong with these runtimes installed through xcodes.
The text was updated successfully, but these errors were encountered:
For the third issue, I managed to isolate it to using SKTestSession.locale under iOS 13 and 14. I filed a Radar for that: FB12223404.
For the other 2 I'm still running into them, but I think I have the same issue if I install the runtimes directly through Xcode, so I guess there's nothing wrong with xcodes.
The first one happens with iOS 14.x (only on CircleCI for some reason) and the second one with iOS 13.x on both CircleCI and locally. I'm still trying to dig through the reason.
I've looked but haven't been able to find these issues referenced anywhere.
I'm migrating from
xcversion
toxcodes
because of xcpretty/xcode-install#466.Unfortunately I'm running into lots of issues with the iOS 13 and 14 runtimes. iOS 12 works properly.
I've seen 2 different issues in CI:
And this when testing locally:
All pointing to
StoreKitTest
somehow being corrupted.Repro steps:
(You can use https://github.com/RevenueCat/purchases-ios but I'm sure this reproduces with any other project, probably using
StoreKitTest
)sudo xcodes runtimes install "iOS 14.5"
xcrun simctl list
to find a simulator for the newly installed runtimexcodebuild -workspace ./RevenueCat.xcworkspace -scheme RevenueCat -configuration Debug -destination 'platform=iOS Simulator,id=SIMULATOR_ID' -testPlan 'CI-AllTests' build test
I'm able to reproduce this in CI (CircleCI), locally on command line, but interestingly enough also when running tests with Xcode on a simulator created from that runtime.
Installing the runtime directly from Xcode does work properly, so I'm very puzzled as to what's wrong with these runtimes installed through
xcodes
.The text was updated successfully, but these errors were encountered: