Closed dannyhw closed 9 months ago
Sorry to hear you encountered this problem. Thanks for the details you provided thus far.
Could you please provide some more information for us?
ios/Podfile
and ios/Podfile.lock
files. @levibostian
I run
# to regenerate native code and run expo plugins
npx expo prebuild --clean
# to build the ios project
npx expo run:ios
# to open xcode
open ios/ArroStaging.xcworkspace
Then in xcode I edit scheme and choose release instead of debug and build the project within xcode
Thank you for sharing that info.
So far, I cannot find anything that stands out to me. Have you tried deleting derived data on your machine? Can you try building on another computer to see if you encounter the same problems? Can you clean the build folders of your project and try building again?
The error message could be caused by cached xcode files causing issues for you.
Ok sounds like its probably a cache issue then, not really blocking me right now so I'm happy to close this.
SDK version: "customerio-expo-plugin": "^1.0.0-beta.13", "customerio-reactnative": "^3.3.1",
Environment: Production
Are logs available?
Describe the bug
When building in release mode via xcode I get this error:
Cannot load module 'CioInternalCommon' built with SDK 'iphonesimulator16.4' when using SDK 'iphonesimulator17.0': /Users/danielwilliams/Library/Developer/Xcode/DerivedData/ArroStaging-bwhufddsxieuyueferyyvumsbyll/Build/Products/Release-iphonesimulator/CustomerIOCommon/CioInternalCommon.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
To Reproduce
Edit scheme in xcode to release mode and run a build
Expected behavior
build should succeed.
Screenshots
Additional context
If I change target to 'any ios device' i.e not a simulator build it seems to work.