The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > Omni Frameworks
FAQ Members List Calendar Today's Posts

 
Buidling for iphone Thread Tools Search this Thread Display Modes
I have built the framework nothing different for iphone I added them into the xcode using the menu, the simulator gives no errors but putting it onto the iphone gives three errors here is the log:

Code:
Ld /Users/ben/Documents/Projects/tcptester/build/Debug-iphoneos/tcptester.app/tcptester normal armv6
    cd /Users/ben/Documents/Projects/tcptester
    setenv IPHONEOS_DEPLOYMENT_TARGET 2.2
    setenv MACOSX_DEPLOYMENT_TARGET 10.5
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.0 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk -L/Users/ben/Documents/Projects/tcptester/build/Debug-iphoneos -F/Users/ben/Documents/Projects/tcptester/build/Debug-iphoneos -F/Users/ben/Documents/Projects/tcptester -F/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk/System/Library/PrivateFrameworks -filelist /Users/ben/Documents/Projects/tcptester/build/tcptester.build/Debug-iphoneos/tcptester.build/Objects-normal/armv6/tcptester.LinkFileList -mmacosx-version-min=10.5 -Wl,-dead_strip -miphoneos-version-min=2.2 -framework Foundation -framework UIKit -framework CoreGraphics -framework OmniBase -framework OmniNetworking -o /Users/ben/Documents/Projects/tcptester/build/Debug-iphoneos/tcptester.app/tcptester
ld warning: in /Users/ben/Documents/Projects/tcptester/OmniBase.framework/OmniBase, missing required architecture arm in file
ld warning: in /Users/ben/Documents/Projects/tcptester/OmniNetworking.framework/OmniNetworking, missing required architecture arm in file
Undefined symbols:
  "_OBJC_CLASS_$_ONSocketStream", referenced from:
      __objc_classrefs__DATA@0 in MainView.o
  "_OBJC_CLASS_$_ONTCPSocket", referenced from:
      __objc_classrefs__DATA@0 in MainView.o
  "_OBJC_CLASS_$_ONHost", referenced from:
      __objc_classrefs__DATA@0 in MainView.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Any help would be good
 
Those are classes from OmniNetworking, which is a separate framework from OmniFoundation… the "missing required architecture arm in file" message probably indicates that the OmniNetworking (and OmniBase) frameworks you installed were compiled for desktop use, not iPhone use (the iPhone uses an ARM processor).
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
iTunes Error 0xE8008001 when Trying to Sync Omnifocus iPhone App to iPhone 4 nbaker OmniFocus for iPhone 1 2011-04-08 02:26 PM
Update 1.0.1 Wiped my iPhone Database - Can I recover from iPhone Backup? AlexG OmniFocus for iPhone 4 2008-07-24 10:22 AM


All times are GMT -8. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.