It seems like there are two issues:
a) one it has something to do with the new xcode version ... earlier it used to create "relative" builds in "deriveddata" directory for submodules like TouchDB here:
./DerivedData/myprojname/Build/Products/Debug-ios-universal/TouchDB.framework
but now it creates builds within a "derivedata" directory inside the submodule itself:
./TouchDB-iOS/DerivedData/TouchDB/Build/Products/Debug-ios-universal/TouchDB.framework
b) second problem has to do with the fact that there is a symlink inside the framework, which may or may not have always been there ... but now Apple validation check complains about it:
$ cd ./TouchDB-iOS/DerivedData/TouchDB/Build/Products/Debug-ios-universal/TouchDB.framework
$ ls -alrt
total 16376
drwxr-xr-x 4 pulkitsinghal staff 136 Jan 24 05:58 ..
-rw-r--r-- 1 pulkitsinghal staff 680 Apr 16 13:45 Info.plist
drwxr-xr-x 31 pulkitsinghal staff 1054 Apr 16 13:45 Headers
-rwxr-xr-x 1 pulkitsinghal staff 8364092 Apr 16 14:21 TouchDB
lrwxr-xr-x 1 pulkitsinghal staff 17 May 20 15:19
TouchDB.framework -> TouchDB.frameworkdrwxr-xr-x 7 pulkitsinghal staff 238 May 20 15:19 .
I just used the "show package contents" option to go inside and locate it in the archive packaging being submitted to the app store ... and manually removed it ... not sure what the elegant way to fix this would be for those of us who build off the source code for touchdb everytime ... instead of simply the binary file downloads.
- Pulkit
On Wednesday, May 15, 2013 11:48:24 PM UTC-5, Pulkit Singhal wrote:
It may something to do with the new Xcode version, I was wondering if anyone else is facing a similar error when attempting to archive an app for submission to the app store: