• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Apple Mach-O Linker Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apple Mach-O Linker Error


  • Subject: Apple Mach-O Linker Error
  • From: Geoffrey Goutallier <email@hidden>
  • Date: Thu, 30 Aug 2012 14:40:04 +0200

Greetings Folks,


I am right now working on an iPhone project, and I submitted it without any problem several time to the App Store. Upon the last approval from Apple, I witnessed that it was not working as expected. So I changed a few minor things (but blocking the in-app purchase, so kinda important…), like changing the version #, build #, and moving a line outside of an 'if' statement.
But now, when trying to Archive my app, the build fail with the following error (Apple Mach-O Linker Error):

"(null): Linker command failed with exit code 1 (use -v to see invocation)"

from the console:

Ld /Users/geoffrey/Library/Developer/Xcode/DerivedData/Generic-aqfasatrblaisracrrjosfxilxdw/Build/Intermediates/ArchiveIntermediates/Generic/IntermediateBuildFilesPath/UninstalledProducts/MyApp.app/MyApp normal armv7
    cd /Users/geoffrey/Documents/Dev/iPhone/myapp
    setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
    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"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
	-arch armv7
	-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
	-L/Users/geoffrey/Library/Developer/Xcode/DerivedData/Generic-aqfasatrblaisracrrjosfxilxdw/Build/Intermediates/ArchiveIntermediates/Generic/BuildProductsPath/Release-iphoneos
	-L/Users/geoffrey/Documents/Dev/iPhone/MyApp/Classes/SDK/GoogleAnalytics
	-L/Users/geoffrey/Documents/Dev/iPhone/MyApp/Classes/SDK/AppVIPControllerLibrary
	-F/Users/geoffrey/Library/Developer/Xcode/DerivedData/Generic-aqfasatrblaisracrrjosfxilxdw/Build/Intermediates/ArchiveIntermediates/Generic/BuildProductsPath/Release-iphoneos
	-F/Users/geoffrey/Documents/Dev/iPhone/MyApp/Classes
	-F/Users/geoffrey/Documents/Dev/iPhone/MyApp
	-filelist /Users/geoffrey/Library/Developer/Xcode/DerivedData/Generic-aqfasatrblaisracrrjosfxilxdw/Build/Intermediates/ArchiveIntermediates/Generic/IntermediateBuildFilesPath/Generic.build/Release-iphoneos/Generic.build/Objects-normal/armv7/MyApp.LinkFileList
	-dead_strip
	-fobjc-link-runtime
	-miphoneos-version-min=4.3
	-framework CrashReporter
	-framework Foundation
	-framework AVFoundation
	-lAppVIPController
	-framework AudioToolbox
	-framework StoreKit
	-framework UIKit
	-framework CoreGraphics
	-lz
	-framework CoreLocation
	-lxml2
	-framework SystemConfiguration
	-licucore
	-framework MessageUI
	-framework CFNetwork
	-framework MobileCoreServices
	-framework QuartzCore
	-framework MapKit
	-lsqlite3.0
	-lGoogleAnalytics
	-o /Users/geoffrey/Library/Developer/Xcode/DerivedData/Generic-aqfasatrblaisracrrjosfxilxdw/Build/Intermediates/ArchiveIntermediates/Generic/IntermediateBuildFilesPath/UninstalledProducts/MyApp.app/MyApp

ld: in section __TEXT,__text reloc 3: sectionForAddress(0x241C) address not in any section for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

My project being versionned, I checked it out on the last revision that built (and was sent to the Store), but to no avail: it would not build either.

Interestingly, one of my frameworks had a '~' sign in Xcode's Project Navigator (where there is normally the 'M' sign saying that the file has been changed). It is not shown now, though...

I searched the internet unsuccessfully – 1 thread on StackOverflow, but still open:

http://stackoverflow.com/questions/11942641/xcode-4-4-link-error

and spent almost 3 days on that damned problem. Any help will be greatly appreciated! :)

Thank you for your help and time !

Geoffrey

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: On handling those lovely unrecognized selector sent to instance SIGABRTs
  • Next by Date: Re: On handling those lovely unrecognized selector sent to instance SIGABRTs
  • Previous by thread: Re: [Q] Cocoa Binding for filters applied to CALayer (JongAm Park)
  • Next by thread: ASIFormDataRequest doesn't fetch responseString
  • Index(es):
    • Date
    • Thread