Discussion Forums  >  Uncategorized

Replies: 3    Views: 219

kasm1
Aspiring developer
Profile
Posts: 16
Reg: Nov 09, 2010
USA
160
07/26/11 11:08 AM (14 years ago)

Second Build for Distribution Attempt Fails

I originally built my app for ad hoc distribution and it ran fine. Was able to get the app to run on both my iTouch and iPad. I made some modifications to the program, however, in both BT and by adding some graphics .png files to the Xcode project itself. The program runs fine in the iPad simulator but I get 10 issues when I try to rebuild for ad hoc distribution. I tried deleting the original .app file under products but that didn't help. It looks like all the Apple-dictated values (e.g., Entitlements.plist, etc.) are still there. Not sure if I need to go through that process again or not. The issues are occurring in the BT_rotatingNavConroller.h (5 issues) and BT_viewController.h (4 issues). /Users/kimmaloney/HSBR/horseshoebayresortrev-iOS-BTv15-EA6A705A0C74EAB5EFF3A2142/BT_Layout/BT_rotatingNavController.h /Users/kimmaloney/HSBR/horseshoebayresortrev-iOS-BTv15-EA6A705A0C74EAB5EFF3A2142/BT_Layout/BT_rotatingNavController.h:40: error: cannot find protocol declaration for 'MFMessageComposeViewControllerDelegate' /Users/kimmaloney/HSBR/horseshoebayresortrev-iOS-BTv15-EA6A705A0C74EAB5EFF3A2142/BT_Layout/BT_rotatingNavController.h:54: error: expected ')' before 'MFMessageComposeViewController' /Users/kimmaloney/HSBR/horseshoebayresortrev-iOS-BTv15-EA6A705A0C74EAB5EFF3A2142/BT_Layout/BT_rotatingNavController.h:54: error: expected ')' before 'MessageComposeResult' /Users/kimmaloney/HSBR/horseshoebayresortrev-iOS-BTv15-EA6A705A0C74EAB5EFF3A2142/BT_Layout/BT_rotatingNavController.h:40: error: cannot find protocol declaration for 'MFMessageComposeViewControllerDelegate' /Users/kimmaloney/HSBR/horseshoebayresortrev-iOS-BTv15-EA6A705A0C74EAB5EFF3A2142/BT_Layout/BT_rotatingNavController.h:54: error: expected ')' before 'MFMessageComposeViewController' /Users/kimmaloney/HSBR/horseshoebayresortrev-iOS-BTv15-EA6A705A0C74EAB5EFF3A2142/BT_Layout/BT_rotatingNavController.h:54: error: expected ')' before 'MessageComposeResult' /Users/kimmaloney/HSBR/horseshoebayresortrev-iOS-BTv15-EA6A705A0C74EAB5EFF3A2142/BT_Layout/BT_viewController.h /Users/kimmaloney/HSBR/horseshoebayresortrev-iOS-BTv15-EA6A705A0C74EAB5EFF3A2142/BT_Layout/BT_viewController.h:36:29: error: iAd/ADBannerView.h: No such file or directory /Users/kimmaloney/HSBR/horseshoebayresortrev-iOS-BTv15-EA6A705A0C74EAB5EFF3A2142/BT_Layout/BT_viewController.h:40: error: cannot find protocol declaration for 'ADBannerViewDelegate' /Users/kimmaloney/HSBR/horseshoebayresortrev-iOS-BTv15-EA6A705A0C74EAB5EFF3A2142/BT_Layout/BT_viewController.h:74: error: expected ')' before 'ADBannerView' /Users/kimmaloney/HSBR/horseshoebayresortrev-iOS-BTv15-EA6A705A0C74EAB5EFF3A2142/BT_Layout/BT_viewController.h:75: error: expected ')' before 'ADBannerView' Any help would be appreciated!
 
kasm1
Aspiring developer
Profile
Posts: 16
Reg: Nov 09, 2010
USA
160
like
07/26/11 11:19 AM (14 years ago)
I'm not even going to try to figure out any issues I may have anymore...I'll just post to this Forum then immediately figure it out after (even though I tried diligently before posting). If anyone else has this issue, be sure that the Profile gets switched back to Distribution.
 
kasm1
Aspiring developer
Profile
Posts: 16
Reg: Nov 09, 2010
USA
160
like
07/26/11 11:26 AM (14 years ago)
WAIT!!! Now I tried to plug in my iPod and got the same above described errors. Checked the Profile and it's set to Distribution. Now what?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/27/11 11:40 AM (14 years ago)
I'm confused. When you compile for a device, or the simulator, the choices are the same. You choose the build-configuration you want to use. Each build configuration has a profile for hte Project and the Target. Choose the project, set the profile. Chosee the target, set the profile. Build.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.