Lipo Error!! can't open input file

后端 未结 21 2040
北海茫月
北海茫月 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:14

    I'm using both Carthage and Cocoa Pods and this is how I fixed the issue without deleting "Remove Unneeded Architectures" in the Build Phases section:

    • Go to "Build Phases" tab within your target

    • Drag the "Remove Unneeded Architectures" (or whatever you called your script) to a higher row (e.g. above "Compile Sources").

    • Clean and Build

    Hope that helps!

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

    I updated one framework in my project but somehow missed committing/pushing its one file 'info.plist'(because of some problem in my gitignore file). Since then everybody else started getting this error. So just committing the missed info.plist file fixed the problem. Hope this helps someone.

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

    Go to your project directory, find build folder and delete it. Then do a build clean and then build project.

    I hope this helps

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

    This happened to me because I'm using cocoapods and the Pods project in the workspace had a different setting for "Build Active Architecture Only" than my main project (YES and NO respectively). When I set both to "NO" I was able to build and run on my device.

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

    I get this error when disconnect device from my Mac, press my project on my project name (near play/stop build button in upper left corner), select device -> [iOS Device] and press product -> build Also I want to mention that project has a lot of 3rd party libs and some libraries installed with pods.

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

    That error occurred, when I've decided to clean up my Derived data folder. I had to call carthage update --platform iOS then call Clean in Xcode and build again. Hope that can help someone

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