Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xCode 4 "File not Found" when creating .ipa with core-plot library

I have my app ready to ship, and I can not create the .ipa I need to do so.

I have reproduced my problem in a very small example.

1) Create a new project (I used a Nav Bar application). 2) Build for Archive 3) Share. .ipa creates at specified location.

4) download / install core-plot ( http://code.google.com/p/core-plot/downloads/detail?name=CorePlotInstaller_0.2.2.zip&can=2&q= )

5) Use method 2 for adding library

5a) Copy the CorePlotSDK directory to ~/Library/SDKs/

5b) Add to your project's .PCH file: #import

5c) Open Project -> Edit Project Settings and for All Configurations:

5c1)Add to Additional SDKS: $HOME/Library/SDKs/CorePlotSDK/${PLATFORM_NAME}.sdk

5c2) Add to Other Linker Flags: -ObjC -all_load -lCorePlot

5d) Add the QuartzCore framework to the project.

6) Clean project 7) Build for Archive 8) Share (.ipa) => "The operation couldn’t be completed. No such file or directory"

like image 562
Hasan Avatar asked Sep 03 '26 01:09

Hasan


1 Answers

Since you have a 3:rd party SDK you need to add "$(SDKROOT)/ResourceRules.plist" to the “Code Signing Resource Rules Path” key in the targets build settings.

like image 177
Magnus O. Avatar answered Sep 05 '26 15:09

Magnus O.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!