Can't Build iOS version using Xcode

I wanna build and run the iOS version using the Xcode 11.7 but I’m facing some errors… After install and setup Rust and its dependencies I received the library not found for -lengine when trying build the iOS target.

Is there any specific setup or dependency to be abble build and run this project over Xcode ?

1 Like

Hey,

Did you open the IOS.xcodeproj?
You might want to try selecting the rust target specifically in case the dependency configuration didn’t trigger that build:

Skärmavbild 2020-10-12 kl. 09.47.57

And run that before the main target.
It should create ios/Engine/libengine.a

3 Likes

I did see that too. Following Xcode’s sometimes-cryptic messages, I did the following:

  1. Select the IOS project from the Project Navigator
  2. Select the IOS target > Signing & Capabilities tab.
  3. Resolve the errors (if any). You may have to change the bundle identifier, update the entitlement file, and update the profile in your Apple Developer account (that was my case, YMMV).
  4. Repeat step #2 with the IOSNetworkExtension and Blocka Engine targets.

While I got past the error you’re seeing, I found another issue: iOS issue: no such subcommand: `lipo`

2 Likes