Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(ios) Apple Mach-O Linker Error #55

Open
datnguyen0606 opened this issue Jun 6, 2017 · 2 comments
Open

(ios) Apple Mach-O Linker Error #55

datnguyen0606 opened this issue Jun 6, 2017 · 2 comments

Comments

@datnguyen0606
Copy link

Hi,
I got error "Apple Mach-O Linker Error" when trying to build the app from XCode.
Could you guys help me to figure out how to fix this issue?
Thanks

@sahil-innostax
Copy link

Open YourAppName.xcworkspace instead of YourAppName.xcodeproj and build again

@johanarnor
Copy link

We also had a similar issue, when running custom configuration (something other than Debug/Release, e.g Staging).

I think it is somewhat related to facebook/react-native#11813, and even though it looked like facebook/react-native#11813 (comment) would solve our issue, that was not the case.

Instead, I opened YourAppName.xcworkspace as @sksahil030 suggested and relinked libPods-YourAppName.a with the following steps

  • Press YourAppName in the Project navigator
  • Select YourAppName as the target
  • Go to General and scroll down to Linked Frameworks and Libraries
  • Remove libPods-YourAppName.a and add it again (either by + or drag it from Pods -> Products)

Hope this helps anyone with a similar issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants