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.

Build errors on Apple Watch using Xcode 10

See original GitHub issue

Expected behavior

We expect the demo project for Apple Watch to build and run on Xcode 10.

Actual behavior

When building, we get the following build error: ld: warning: ignoring file /Downloads/Porcupine-master/lib/watchos/libpv_porcupine.a, file was built for archive which is not the architecture being linked (arm64_32): /Downloads/Porcupine-master/lib/watchos/libpv_porcupine.a Undefined symbols for architecture arm64_32: ld: symbol(s) not found for architecture arm64_32 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Steps to reproduce the behavior

Download the demo project and attempt to run the app on an Apple Watch device.

Please include enough details so that the issue can reproduced independently by the resolver.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
herlihalimcommented, Oct 29, 2018

Yes, that’s correct. Unfortunately, as I have mentioned, it’s just a workaround to get it compilable to non series 4 watch.

@kanersa will be the only one that could help with this.

On 30 Oct 2018, at 12:10 am, D Y notifications@github.com wrote:

@herlihalim thank you for the help. If I remove “arm64_32” we won’t be able to run it on an Apple Watch Series 4. We get the following error: “This application does not support this device’s CPU type.”

@kenarsa can you produce a new binary that includes the new architecture? It seems like that’s all that needs to be done.

Thank you to you both!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

0reactions
dyah10commented, Nov 9, 2018

Fixed. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to deploy apps from Xcode to watch - Apple Developer
I'm not able to build and run on watchOS. I see this error: The device “Apple Watch” is not available because there was...
Read more >
Unable to build watchOS app on Apple Watch via Xcode
My Apple Watch is running on watchOS 7.3. This is the error log I received whenever I tried to build my watchOS app....
Read more >
Problems running watchOS apps on d… - Apple Developer
Then after the app is running on watch, start up xcode and relaunch app while the app is opened. The spinning icon will...
Read more >
Independent Watch App won't run on device - Apple Developer
I open Xcode and create a new independent Watch App using the template, I don't make any changes to the code. I can...
Read more >
iPhone is busy: Making Apple Watch ready for development
1, Xcode 13.1, iPhone 11 Pro on iOS 15.1, Watch 5 with WatchOS 8.1. I can build to an SE with no watch...
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