Lipo Error!! can't open input file

后端 未结 21 2059
北海茫月
北海茫月 2020-12-14 14:46

My application was working perfectly fine, then I started integrating SDK for push notification and stop the integration in between. I even deleted the SDK from my project a

相关标签:
21条回答
  • 2020-12-14 15:07

    By Setting "Enable Bitcode" to "No" works for me.

    Now i able to Run on Device and submit to App store as well.

    0 讨论(0)
  • 2020-12-14 15:08

    For me, this occurred because my main executable and a library I was statically linking with had different settings in Build Settings > Architectures. The library was set to only "Standard architectures" but the main exe was set to "Standard architectures (including 64-bit)."

    I think what was happening was that when the build process went to link everything, it found it was missing the 64-bit versions of the libraries, causing this error.

    Setting them all to the same value (either with or without 64-bit) resolved the issue for me.

    0 讨论(0)
  • 2020-12-14 15:08

    I had this error after a rebase put a bunch of inaccessible directories (over and over) in my framework search paths. Someone did not import the frameworks they were working on until the very end, and left references to their own directory in the code. Solved by comparing branches and removing offending code from the pbxproj

    0 讨论(0)
  • 2020-12-14 15:09

    This was a cocoapods issue for me. I'm running 0.35.0, Xcode 6.1.1, and apparently I need to mention my targets in my podfile in order for all my cocoapods to work correctly with my targets.

    At the bottom of my podfile, I added:

    link_with 'Target A', 'Target B' ...
    

    Add all your target names, close Xcode, run pod install, open Xcode, and it should build for you.

    Here's the github issue: https://github.com/CocoaPods/CocoaPods/issues/2627

    0 讨论(0)
  • 2020-12-14 15:10

    Note that I got this when switching from Carthage to CocoaPods. Solution was to delete the "Remove Unneeded Architectures" in the Build Phases section.

    0 讨论(0)
  • 2020-12-14 15:12

    Try to remove connected iPad/iPhone if there. This worked for my case.

    0 讨论(0)
提交回复
热议问题