Currently my project is working perfectly on IOS development target 3.2 But as soon as i will do development target 4.0 or higher. It gives me error. Following is the error:
Ld /Users/taxsmart2/Library/Developer/Xcode/DerivedData/MessageUI-cmsggqfkxarvsnaizxfrkvsmggwj/Build/Products/Debug-iphonesimulator/MessageUI.app/MessageUI normal i386
cd /Users/taxsmart2/Desktop/ipad
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/taxsmart2/Library/Developer/Xcode/DerivedData/MessageUI-cmsggqfkxarvsnaizxfrkvsmggwj/Build/Products/Debug-iphonesimulator -F/Users/taxsmart2/Library/Developer/Xcode/DerivedData/MessageUI-cmsggqfkxarvsnaizxfrkvsmggwj/Build/Products/Debug-iphonesimulator -F/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/System/Library/Frameworks -F/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks -F/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks -F/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/System/Library/Frameworks -F/Users/taxsmart2/Desktop/ipad/libxml -F/Users/taxsmart2/Desktop/ipad/ASIHttpRequest/Frameworks -filelist /Users/taxsmart2/Library/Developer/Xcode/DerivedData/MessageUI-cmsggqfkxarvsnaizxfrkvsmggwj/Build/Intermediates/MessageUI.build/Debug-iphonesimulator/MessageUI.build/Objects-normal/i386/MessageUI.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -lxml2 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -framework UIKit -framework CoreGraphics -framework MessageUI -framework Foundation -framework CoreFoundation -framework MobileCoreServices -framework SystemConfiguration -lz.1.2.3 -framework CFNetwork -o /Users/taxsmart2/Library/Developer/Xcode/DerivedData/MessageUI-cmsggqfkxarvsnaizxfrkvsmggwj/Build/Products/Debug-iphonesimulator/MessageUI.app/MessageUI
ld: warning: directory not found for option '-F/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/System/Library/Frameworks'
ld: warning: directory not found for option '-F/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/System/Library/Frameworks'
ld: warning: directory not found for option '-F/Users/taxsmart2/Desktop/ipad/ASIHttpRequest/Frameworks'
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_MessageWebLayer", referenced from:
objc-class-ref in MessageUIAppDelegate.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
Also in above error shows in MessageWebLayer which is same as on github. So What changes i need to do in Build Settings or Development target to run on iOS 4.0 or higher. I tried lots of changes in build settings but then Link in github says MessageWebLayer is not supported in 4.0 or higher. Can any one help me in this matter?
If it is not possible for this code then what other classes in iPhone allows me to retrieve email in In-App??
There is no public api's to retrieve Email Id from Mail app in iOS.
Related
i have added all frameworks and set my deployment target 4.3 but i don t know why i am getting this error. can any one help me what i am doing wrong?
Ld /Users/malik98b/Library/Developer/Xcode/DerivedData/intellegentQuiz-dvsvdwuxvcsnjxhacouhvetzygfd/Build/Products/Debug-iphonesimulator/intellegentQuiz.app/intellegentQuiz normal i386
cd /Users/malik98b/Desktop/intellegentQuiz
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
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/iPhoneSimulator6.1.sdk -L/Users/malik98b/Library/Developer/Xcode/DerivedData/intellegentQuiz-dvsvdwuxvcsnjxhacouhvetzygfd/Build/Products/Debug-iphonesimulator -F/Users/malik98b/Library/Developer/Xcode/DerivedData/intellegentQuiz-dvsvdwuxvcsnjxhacouhvetzygfd/Build/Products/Debug-iphonesimulator -F/Users/malik98b/Desktop/intellegentQuiz/../../Documents/FacebookSDK -F/Users/malik98b/Desktop/intellegentQuiz/intellegentQuiz -filelist /Users/malik98b/Library/Developer/Xcode/DerivedData/intellegentQuiz-dvsvdwuxvcsnjxhacouhvetzygfd/Build/Intermediates/intellegentQuiz.build/Debug-iphonesimulator/intellegentQuiz.build/Objects-normal/i386/intellegentQuiz.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=4.3 -lz.1.2.5 -framework Security -weak_framework Social -weak_framework Accounts -framework CFNetwork -framework SystemConfiguration -framework Twitter -weak_framework AdSupport -framework MessageUI -lsqlite3.0 -framework UIKit -framework Foundation -framework CoreGraphics -framework FacebookSDK -o /Users/malik98b/Library/Developer/Xcode/DerivedData/intellegentQuiz-dvsvdwuxvcsnjxhacouhvetzygfd/Build/Products/Debug-iphonesimulator/intellegentQuiz.app/intellegentQuiz
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_DEFacebookComposeViewController", referenced from:
objc-class-ref in ShareVC.o
"_OBJC_CLASS_$_DETweetComposeViewController", referenced from:
objc-class-ref in ShareVC.o
"_OBJC_CLASS_$_SHKItem", referenced from:
objc-class-ref in ShareVC.o
"_OBJC_CLASS_$_SHKMail", referenced from:
objc-class-ref in ShareVC.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Sometimes the .m file is not listed under the "Compile Sources" step of the "Build Phases" tab of your target and you need to add the .m file manually.
credit to Allen pike on this one
Undefined symbols for architecture i386: _OBJC_CLASS_$_SKPSMTPMessage", referenced from: error
I'm trying to use Objective-Zip on an IOS5 iPhone application and I get the following linkage error when I build my project:
----------- ***********---------------
Ld /Users/amirpeivandi/Library/Developer/Xcode/DerivedData/Zarvaragh-czcfescrnmgrljfojncagweywohi/Build/Products/Debug-iphonesimulator/Zarvaragh.app/Zarvaragh normal i386
cd /Users/amirpeivandi/Documents/iPhoenApps/Zarvaragh
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/amirpeivandi/Library/Developer/Xcode/DerivedData/Zarvaragh-czcfescrnmgrljfojncagweywohi/Build/Products/Debug-iphonesimulator -F/Users/amirpeivandi/Library/Developer/Xcode/DerivedData/Zarvaragh-czcfescrnmgrljfojncagweywohi/Build/Products/Debug-iphonesimulator -filelist /Users/amirpeivandi/Library/Developer/Xcode/DerivedData/Zarvaragh-czcfescrnmgrljfojncagweywohi/Build/Intermediates/Zarvaragh.build/Debug-iphonesimulator/Zarvaragh.build/Objects-normal/i386/Zarvaragh.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -lz -framework CoreGraphics -framework MobileCoreServices -framework SystemConfiguration -framework CFNetwork -framework UIKit -framework Foundation -o /Users/amirpeivandi/Library/Developer/Xcode/DerivedData/Zarvaragh-czcfescrnmgrljfojncagweywohi/Build/Products/Debug-iphonesimulator/Zarvaragh.app/Zarvaragh
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_ZipFile", referenced from:
objc-class-ref in MainPageController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
----------- ***********---------------
I have no problem running the Objective-Zip application that comes with the code and I have checked my code, my project settings and all I could think of and the two projects (mine and default Objective-Zip iPhone project) have the same identical settings!
Any pointer would be greatly appreciated. I've been stuck for last couple of days on this silly thing. I've seen a few posts pointing to architecture supports and ARC setting but again I have two projects the way I see them identical one mine that is not compiling and one the one from Objective-Zip project that compiles and runs just fine!
Thx
Amir
Are you sure you have linked the Objective-Zip library in your project ? Because from the error it seems like it's not linked.
i'm using last version of VocalKit for iPhone https://github.com/KingOfBrian/VocalKit
I followed all instructions to add in new project as specified on github,
but on compile time i getting these errors:
Ld build/Debug-iphonesimulator/Voice.app/Voice normal i386
cd /Users/asd/Desktop/Voice
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer-old/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer-old/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer-old/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer-old/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/asd/Desktop/Voice/build/Debug-iphonesimulator -F/Users/asd/Desktop/Voice/build/Debug-iphonesimulator -filelist /Users/asd/Desktop/Voice/build/Voice.build/Debug-iphonesimulator/Voice.build/Objects-normal/i386/Voice.LinkFileList -mmacosx-version-min=10.6 -all_load -ObjC -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework UIKit -framework CoreGraphics "/Users/asd/Downloads/KingOfBrian-VocalKit-a25e5f3 2/build/Debug-iphonesimulator/libVocalKit.a" -framework AudioToolbox -liconv -o /Users/asd/Desktop/Voice/build/Debug-iphonesimulator/Voice.app/Voice
Undefined symbols:
"_ssymm_", referenced from:
_matrixmultiply in libVocalKit.a(matrix.o)
"_spotrf_", referenced from:
_determinant in libVocalKit.a(matrix.o)
"_sposv_", referenced from:
_invert in libVocalKit.a(matrix.o)
_solve in libVocalKit.a(matrix.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
what can i do?
What's the cause of these problems?
I tried to import in xcode3 and xcode4, but it's the same.
My sdk version is 4.3.
thanks.
from the readme file on the github page...
I no longer advise using VocalKit, as a much better project, Open Ears has come out. http://www.politepix.com/openears/
Maybe check out openears?
Thanks all,
but I solved using google chrome speech.
Speech recognition framework for iOS that supports Spanish
Using chromium src: src.chromium.org/viewvc/chrome/trunk/src/content/browser/speech/
Being new to iPhone development I was wanting to take it to the next level and use the Three20 library for a photo gallery I am building.
http://www.raywenderlich.com/1430/how-to-use-the-three20-photo-viewer
Everything seemed to go smoothly up to the point I tried testing the app and I got this error.
"_OBJC_METACLASS_$_TTURLRequestModel", referenced from:
Ld build/Debug-iphonesimulator/PhotoGallery.app/PhotoGallery normal i386
cd /Users/company/Documents/PhotoGallery
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk -L/Users/company/Documents/PhotoGallery/build/Debug-iphonesimulator -F/Users/company/Documents/PhotoGallery/build/Debug-iphonesimulator -filelist /Users/company/Documents/PhotoGallery/build/PhotoGallery.build/Debug-iphonesimulator/PhotoGallery.build/Objects-normal/i386/PhotoGallery.LinkFileList -mmacosx-version-min=10.6 -ObjC -all_load -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework UIKit -framework CoreGraphics -framework CFNetwork -framework SystemConfiguration -framework MobileCoreServices -lz.1.2.3 -framework CoreLocation -framework QuartzCore /Users/company/Documents/opensource/three20/Build/Products/Debug-iphonesimulator/libThree20.a -framework CoreData -o /Users/company/Documents/PhotoGallery/build/Debug-iphonesimulator/PhotoGallery.app/PhotoGallery
Undefined symbols:
"_OBJC_METACLASS_$_TTURLRequestModel", referenced from:
_OBJC_METACLASS_$_PhotoSet in PhotoSet.o
"_OBJC_CLASS_$_TTURLRequestModel", referenced from:
_OBJC_CLASS_$_PhotoSet in PhotoSet.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Anyone
While I included the Three20 static library I didn't include the other dependencies in the same library such as Three20UINavigator.xcodeproj etc.
Sudo was pretty close. While I did include the proper libraries it was simply that they were not activated; I don't know the proper term :P
Basically, we should keep in mind that just because I dragged the Three20.xcodeproj into my project doesn't suffice when other extensions are needed as well. Simply drag all of the xcodeproj files necessary in (wherever you are keeping three20)/three20/src/(name of particular extension)/(name of particular file).xcodeproj into your projects "group and files" Then click on each extension and select the (name of particular file).a and check the checkbox on the far right of the file preview section. This is what I didn't do for all the extensions that seemed to resolve the problem even though I had previously included them all.
When I am integrating XMPP into my application into my app I am getting an error. Please help me in solving this problem:
Build CheckOut of project CheckOut with configuration Debug
Ld build/Debug-iphonesimulator/CheckOut.app/CheckOut normal i386
cd "/Users/stellentmac1/Desktop/CheckOut 2"
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk "-L/Users/stellentmac1/Desktop/CheckOut 2/build/Debug-iphonesimulator" "-L/Users/stellentmac1/Desktop/CheckOut 2/../../../../../xmppframework/Vendor/libidn" "-L/Users/stellentmac1/Desktop/CheckOut 2" "-F/Users/stellentmac1/Desktop/CheckOut 2/build/Debug-iphonesimulator" -filelist "/Users/stellentmac1/Desktop/CheckOut 2/build/CheckOut.build/Debug-iphonesimulator/CheckOut.build/Objects-normal/i386/CheckOut.LinkFileList" -mmacosx-version-min=10.6 -lxml2 -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework UIKit -framework CoreGraphics -framework CFNetwork -framework MobileCoreServices -framework SystemConfiguration -lz.1.2.3 -lresolv -o "/Users/stellentmac1/Desktop/CheckOut 2/build/Debug-iphonesimulator/CheckOut.app/CheckOut"
ld: warning: directory '/Users/stellentmac1/Desktop/CheckOut 2/../../../../../xmppframework/Vendor/libidn' following -L not found
ld: duplicate symbol _kRFSRVResolverErrorDomain in /Users/stellentmac1/Desktop/CheckOut 2/build/CheckOut.build/Debug-iphonesimulator/CheckOut.build/Objects-normal/i386/RFSRVResolver-1A90E36B7A8C9E67.o and /Users/stellentmac1/Desktop/CheckOut 2/build/CheckOut.build/Debug-iphonesimulator/CheckOut.build/Objects-normal/i386/RFSRVResolver-7299ADCEDF231192.o
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
This looks like a linking problem caused by a less-than careful use of the framework.
Do you have a copy of the xmppframework linked and the sources included in your project, or two copies of the sources included in your project?