question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot compile (for simulators) in Xcode 11.4 - Target integrity error

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kenarsacommented, May 28, 2020

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

1reaction
kenarsacommented, May 4, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found