Cannot compile (for simulators) in Xcode 11.4 - Target integrity error
See original GitHub issueI recently upgrade from Xcode 11.3.1 to Xcode 11.4 and it seems I’m now unable to compile Porcupine for simulators. It works fine against physical devices.
I’m using Porcupine 1.7.
Expected behaviour
Is should compile successfully when targeting iOS simulators.
Actual behaviour
Xcode fails to compile for simulators. The error message says:
PROJECTNAME.xcodeproj Building for iOS Simulator, but the linked library 'libpv_porcupine.a' was built for iOS.
Steps to reproduce the behaviour
Download Porcupine 1.7, integrate libpv_porcupine.a
with an iOS Xcode project, build for simulators. Build fails with the above error message.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Xcode 11.4: Target Integrity Issue… | Apple Developer Forums
When moving to Xcode 11.4, we now encounter the error: "Building for iOS, but the embedded framework 'X.framework' was built for iOS Simulator."...
Read more >Target Integrity Issue: "Building for iOS, but the embedded ...
When moving to Xcode 11.4, we now encounter the target integrity error: "Building for iOS, but the embedded framework 'X.framework' was built ...
Read more >Xcode error after switching between device and simulator
In our case after switching to an iOS device, this check fails when applied to a stale framework created during the previous build...
Read more >xcode – Target Integrity Issue: “Building for iOS, but the ...
When we move to Xcode 11.4, we now encounter the target integrity error: ... We collect than migrating to XCFramework is one way...
Read more >Customer Service - Xcode 11.4 - Build errors for simulator
As of Xcode 11.4, you can get an error when building your application to run on a simulator. This article explains how to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please try the latest (v1.8). We confirm that we can run the demo on the simulator using XCode 11.5. re-open if the issue persists
no. if you are a commercial customer you should reach out to your point of contact directly and we can provide a patch on an expedited fashion.