Note that there are some explanatory texts on larger screens.

plurals
  1. POstatic library with core data (Cannot archive)
    text
    copied!<p>After making a static library to handle the core data related code for my app, and making the bundle needed to be able to have the static library access the (core data) database. I finally have everything working when testing on my device.</p> <p>Unfortunately when I want to Product/Archive the app (to make an IPA file) it does not work. Here is what I get in the debugger:</p> <blockquote> <p>CpResource /Users/neptune/Library/Developer/Xcode/DerivedData/Factorial-ekduhgrmnbgyteaokxccduhudcno/Build/Intermediates/ArchiveIntermediates/Factorial/BuildProductsPath/Release-iphoneos/CoreDataResource.bundle /Users/neptune/Library/Developer/Xcode/DerivedData/Factorial-ekduhgrmnbgyteaokxccduhudcno/Build/Intermediates/ArchiveIntermediates/Factorial/InstallationBuildProductsLocation/Applications/Factorial.app/CoreDataResource.bundle</p> <p>cd /Users/neptune/Documents/Factorial</p> <p>setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"</p> <p>builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /Users/neptune/Library/Developer/Xcode/DerivedData/Factorial-ekduhgrmnbgyteaokxccduhudcno/Build/Intermediates/ArchiveIntermediates/Factorial/BuildProductsPath/Release-iphoneos/CoreDataResource.bundle /Users/neptune/Library/Developer/Xcode/DerivedData/Factorial-ekduhgrmnbgyteaokxccduhudcno/Build/Intermediates/ArchiveIntermediates/Factorial/InstallationBuildProductsLocation/Applications/Factorial.app</p> <p>error: /Users/neptune/Library/Developer/Xcode/DerivedData/Factorial-ekduhgrmnbgyteaokxccduhudcno/Build/Intermediates/ArchiveIntermediates/Factorial/BuildProductsPath/Release-iphoneos/CoreDataResource.bundle: No such file or directory</p> </blockquote> <p>I have tried everything I could think about, but up to this point with no success. This is my first time to use a bundle inside my app, so I might well be missing some basic point. Any relevant tip, by anyone with similar or more experience, will be very much appreciated.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload