-
angusmcbagpipes
short version:
code works in iOS 6 iPhone simulator, does not work on iOS 6 iPod touch. i think there is a link error because i am compiling for the wrong kind of hardware, but uncertain of that and how to correct the problem.
anyone have any thoughts/suggestions?
the details:
using Xcode 4.5, libpd-ios (latest version from git), on os x 10.8.
very simple code and patch that runs in the iPhone (iOS 6) simulator.
code fails when attempting to build for and run on iPod touch (iOS 6).
error message:
ld: warning: ignoring file /Users/dev/Library/Developer/Xcode/DerivedData/theTones-acwzlonngpnmkoajouawgcudazsg/Build/Products/Debug-iphoneos/libpd-ios.a, file was built for archive which is not the architecture being linked (armv7s): /Users/dev/Library/Developer/Xcode/DerivedData/theTones-acwzlonngpnmkoajouawgcudazsg/Build/Products/Debug-iphoneos/libpd-ios.a
Undefined symbols for architecture armv7s:
"_OBJC_CLASS_$_PdAudioController", referenced from:
objc-class-ref in tAppDelegate.o
"_OBJC_CLASS_$_PdBase", referenced from:
objc-class-ref in tViewController.o
"_OBJC_CLASS_$_PdDispatcher", referenced from:
objc-class-ref in tViewController.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)PS: thanks in advance for taking the time to read my question. i am new to Pd and still learning a lot.
-
angusmcbagpipes
This appears to be a problem with the default settings in Xcode 4.5.
To correct this, go to: Build Settings -> Architectures
Set the value to: armv6 armv7
-
angusmcbagpipes
embarrassing answer...
it appears that pd does work fine on os x 10.8. the problem appears to be with the preferences. each time pd launches it sets the output audio to the wrong channel.
go to the preferences and set it to the correct audio channel and everything works
-
angusmcbagpipes
Hey Panta, I am experiencing the same thing. I will look for information and reply here if I find anything. Please reply if you find info first.