iT2D 1.4 Release - iPhoneExample Build And Run broken - RESOLVED
by Andy Hawkins · in iTorque 2D · 07/29/2010 (10:50 am) · 7 replies
Build: 1.4 Release (latest download in my account anyway)
Platform: Mac OS X 10.6.4
Target: Xcode 3.2.2, iPhone Simulator 3.1.3, Debug, Active Target: iTorque2DGame_device, Active Executable: iTorque2DGame_device- iPhone Simulator 3.1.3
Active Architure: i386
Issues: The sample project for the iPhone causes a build error to do with...
".objc_class_name_MPMusicPlayerController", referenced from:
literal-pointer@__OBJC@__cls_refs@MPMusicPlayerController in iPhoneUserMusicLibrary.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Steps to Repeat:
1. Run TGB editor.( from the iTorque2D_1_4 folder)
2. Create new project from Project Template( Gameplay example )
3. Select Build Project
4. XCode starts
5. Select Build and Run
5. Compiles okay, but during Linking the above error happens.
Suggested Fix: Unknown
Link to Console Log: console.log
Link to Build Log:Build Log
Platform: Mac OS X 10.6.4
Target: Xcode 3.2.2, iPhone Simulator 3.1.3, Debug, Active Target: iTorque2DGame_device, Active Executable: iTorque2DGame_device- iPhone Simulator 3.1.3
Active Architure: i386
Issues: The sample project for the iPhone causes a build error to do with...
".objc_class_name_MPMusicPlayerController", referenced from:
literal-pointer@__OBJC@__cls_refs@MPMusicPlayerController in iPhoneUserMusicLibrary.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Steps to Repeat:
1. Run TGB editor.( from the iTorque2D_1_4 folder)
2. Create new project from Project Template( Gameplay example )
3. Select Build Project
4. XCode starts
5. Select Build and Run
5. Compiles okay, but during Linking the above error happens.
Suggested Fix: Unknown
Link to Console Log: console.log
Link to Build Log:Build Log
#2
07/29/2010 (2:38 pm)
Not that I know of. I just went from iT2D and let it run. Is there some documentation on needing to set this up for iT2D? I was under the assumption that iT2D would set this up before pushing the code to XCode.
#3
07/30/2010 (12:08 am)
Hang on, are you trying to build for the Mac, device or Simulator here?
#4
Target: Xcode 3.2.2, iPhone Simulator 3.1.3, Debug, Active Target: iTorque2DGame_device, Active Executable: iTorque2DGame_device- iPhone Simulator 3.1.3
Active Architure: i386.
I'm going with the defaults when Building from iT2D and then compiling in XCode to run on the Simulator.
07/30/2010 (12:29 am)
Here's the target settings from XCodeTarget: Xcode 3.2.2, iPhone Simulator 3.1.3, Debug, Active Target: iTorque2DGame_device, Active Executable: iTorque2DGame_device- iPhone Simulator 3.1.3
Active Architure: i386.
I'm going with the defaults when Building from iT2D and then compiling in XCode to run on the Simulator.
#5
potentially the project settings for that one included the ipod player functionality as selected or something like this
07/30/2010 (12:46 am)
you will need the MPMediaPlayer framework to have it running.potentially the project settings for that one included the ipod player functionality as selected or something like this
#6
08/24/2010 (9:51 pm)
Logged in Jira bug tracker as ITGB-84. Marked for 1.4.1 release.
#7
03/09/2011 (10:23 am)
The gameplay template has been deprecated and removed for 1.4.1 Final.
Associate Craig Fortune