Discussion Forums  >  Uncategorized

Replies: 3    Views: 334

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

Code not recompiling after changes

This is a repost that I thought I had fixed but is popping up again... 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!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/26/11 06:37 PM (14 years ago)
Maybe have a look at the projects Frameworks folder. Are all the necessary Frameworks listed? When you download the project the needed Apple SDK frameworks should already be 'linked.' It's possible that you'll need to add-frameworks. Not sure why but seeing this: MFMessageComposeViewControllerDelegate and others like it makes me believe the Xcode project isn't linking the needed frameworks when compiling. Seems strange.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/26/11 06:39 PM (14 years ago)
I think the documentation shows the needed frameworks...can't remember. You may also see that when you open the frameworks folder in Xcode that all the items in the list are red, this is a sure sign that they are not linked.
 
kasm1
Aspiring developer
Profile
Posts: 16
Reg: Nov 09, 2010
USA
160
like
07/26/11 07:05 PM (14 years ago)
I have no idea. I checked the frameworks and nothing is in red. I'll check in the am. It's undoubtedly something very simple. Let me know if you figure it out.
 

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.