Hello,
I have problem with publishing build. In Unity I create empty application, add some bundle identifier, add iOS simulator. Than I will launch Xcode and try to run it.
Really please help me…
During Xcode compilation I have this error:
Ld /Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-facxczwwtfasnfaywfghakszfyem/Build/Products/TestApplication.app/TestApplication normal i386
cd “/Users/user1/Test Project/TestBuild”
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin”
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -L/Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-facxczwwtfasnfaywfghakszfyem/Build/Products “-L/Users/user1/Test Project/TestBuild” “-L/Users/user1/Test Project/TestBuild/Libraries” -F/Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-facxczwwtfasnfaywfghakszfyem/Build/Products -filelist /Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-facxczwwtfasnfaywfghakszfyem/Build/Intermediates/Unity-iPhone.build/Debug-iphonesimulator/Unity-iPhone.build/Objects-normal/i386/TestApplication.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -all_load -weak_framework CoreMotion -weak-lSystem -fobjc-link-runtime -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=30103 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -liPhone-lib -framework AudioToolbox -framework CFNetwork -framework MediaPlayer -framework CoreLocation -framework SystemConfiguration -weak_framework iAd -framework CoreMedia -framework CoreVideo -weak_framework AVFoundation -framework CoreGraphics -weak_framework CoreMotion -weak_framework GameKit -o /Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-facxczwwtfasnfaywfghakszfyem/Build/Products/TestApplication.app/TestApplication
0 0x102ca7280 __assert_rtn + 144
1 0x102cab312 mach_o::relocatable::Section::addRelocFixup(mach_o::relocatable::Parser, macho_relocation_info<Pointer32 > const*) + 2450
2 0x102cbecac mach_o::relocatable::Section::makeFixups(mach_o::relocatable::Parser, mach_o::relocatable::Parser::CFI_CU_InfoArrays const) + 92
3 0x102cba64f mach_o::relocatable::Parser::parse(mach_o::relocatable::ParserOptions const) + 2031
4 0x102cb0542 mach_o::relocatable::Parser::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const) + 290
5 0x102caca00 mach_o::relocatable::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const) + 128
6 0x102cd4856 archive::File::makeObjectFileForMember(archive::File::Entry const*) const + 1190
7 0x102cd3d06 archive::File::forEachAtom(ld::File::AtomHandler) const + 198
8 0x102ce9898 ld::tool::InputFiles::forEachInitialAtom(ld::File::AtomHandler) + 216
9 0x102cf434c ld::tool::Resolver::resolve() + 204
10 0x102ca7649 main + 585
A linker snapshot was created at:
/tmp/TestApplication-2012-07-21-204858.ld-snapshot
ld: Assertion failed: (src.atom != NULL), function addRelocFixup, file /SourceCache/ld64/ld64-133.3/src/ld/parsers/macho_relocatable_file.cpp, line 5436.
clang: error: linker command failed with exit code 1 (use -v to see invocation)