Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
12/07/12 09:21 AM (13 years ago)

APP ID Bundle Identifier Issues

Hi there, Just starting out but been putting together a couple of apps. I wish to test these on my actual iPhone. I have worked through all the videos in the iOS Provisioning Portal. I have created Certificate, added device, app name and provisioning profile and followed all the other steps. Everything is working fine in xcode except for the appId. I have entered the correct ID into the Targets, Bundle Identifier. When I compile and run the app on my phone I get the following message: No value was provided for the parameter 'appIdName' The app failed to compile on my iPhone I am guessing that I need to enter the bundle identifier into the code somewhere in my buzztouch project in xcode. Does anyone know where? Are there any additional steps I need to take using Buzztouch that are not in the video on the Apple Developer website? Any help would be appreciated. Best wishes Jonathan
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/07/12 09:33 AM (13 years ago)
Hi Jonathan, Here's a tutorial on submitting to iTunes, and it includes stuff like appId and all that good stuff. Hope it helps! https://www.buzztouch.com/files/howtos/Submitting_Your_App_To_iTunes_Connect_v1.0.pdf Mark
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/07/12 09:53 AM (13 years ago)
Thank you for getting back to me. I only wish to test the app on my iPhone. I am not ready to submit to the store yet. I can not test the app on my phone due to issues with the App ID and Bundle Identifier. The guide has helped a little. I check the BT_config.plist but that seems correct. Not sure where I am going wrong? Still not working. Do you know what I am missing for the testing to work on my iPhone? Thank you Jonathan
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/07/12 09:57 AM (13 years ago)
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/07/12 10:35 AM (13 years ago)
So confused, just fails right away when compiling for my iPhone
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/07/12 10:43 AM (13 years ago)
I use a different Apple ID for personal use on my iPhone. Do I need to add my developer ID to my iPhone somehow? Thanks for the guide Mark, tried following the instructions for the Wildcard but it did not work. Not sure why this is so complicated. I followed all the video exactly on the developer website.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/07/12 10:47 AM (13 years ago)
You need to add the provisioning certificate associated with that AppId to your phone/keystore. I believe they have to match up. The Apple signing stuff is so incredibly complicated it's not even funny!
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/07/12 11:05 AM (13 years ago)
I added the provisional certificate to Xcode and my phone through Xcode Organizer. Is that what you mean? Everything should be working. I am really lost know and what I can try. Already added 3 app IDs to my developer account which I can not remove. Not sure what else to try. I have followed a couple of Youtube videos and done everything correctly. Do I need to have the apple ID stored in my phone the same as the developer ID? I am using my personal one at the moment. So confusing
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/07/12 11:11 AM (13 years ago)
Yeah, this stuff is crazy confusing. In Xcode, highlight your Target. Then select the Summary tab. Note what you have in the Identifier field. It should be something like 'com.company.appname'. Now head over to the Info tab, and see what's in the 'Bundle Identifier' section. That should match what you see above. Do they? Mark
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/07/12 11:30 AM (13 years ago)
Yeah they match, already checked that. When I created the app id I entered the com.companyname.myappname There was no instructions on this so I just replaced the companyname with my actual company name and the myappname with the name of my app. Are you supposed to entered this information yourself or create it elsewhere before creating the app id? I noticed in my organiser that on the iPhone 'Xcode can not find the software to install this version' I also noticed that on the Build Settings in Xcode I can not change the Base SDK from Latest iOS. My iPhone is not in the list of available options. So strange
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/07/12 11:38 AM (13 years ago)
Man, you have me stumped! I don't spend a lot of time in Xcode dealing with this particular issue, so hopefully somebody else will notice the thread and reply. I'll try to get a few eyes on it. Apple is a PAIN!
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/07/12 11:39 AM (13 years ago)
Just noticed that when I select my iPhone (not simulator) in Xcode and click the Play/Run button Xcode says Running ... on iPhone 6.0 simulator This is not right. Do I need to change a setting in Xcode to run from my phone? I thought it would be the Base SDK in the Build Settings but my phone is not listed :(
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/07/12 11:40 AM (13 years ago)
Thanks for your help anyway Mark, appreciated
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
12/07/12 01:02 PM (13 years ago)
Even after dozens of apps, I still get stumped sometimes. Sometimes I find its better if I check all my appID settings at buzztouch, and re-download the source. Delete the old xcode project (along with any demons that may be living in there), and just open the new project and start over. To get your app to run on your iphone, it must be included in your devices profile at iTunes Connect. I believe you can also add it with Organizer (right click, and use for development). I'm sure you've done that already, but just trying to type everything out that might help. Also, you should create a bundle identifier at the iTunes provisioning portal, and download a development profile for YOUR iphone with YOUR app. Then add that to xCode. Then you need to make sure the bundleID in Xcode matches the one you created in iTunes Connect (they wont by default, since your downloaded project from buzztouch doesn't know what to put in there). Even if you've tried all this before, try it again with the newly downloaded project. Also might help to delete any of the profiles you are not using, just to keep things tidy and organized. Good luck!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/07/12 01:06 PM (13 years ago)
Thanks, Chris...excellent advice! I think I've been spending too much time working Android issues!
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
12/07/12 03:07 PM (13 years ago)
The main advice I have to offer is to keep at it. I have had problems with provisioning with every single app. One time I had a problem with duplicate certificates that was particularly hard to resolve. I had to delete all of my keys and reinstall them. One time I thought I had the same bundle name, but I had misunderstood the naming convention. One time I even tried to call Apple, and that time I think the problem was that I was using WiFi instead of ethernet. Since this isn't specific to buzztouch, don't hesitate to search the world wide web for answers. I think Chris may have the best idea--get some good instructions and start over from scratch. That way you can avoid conflicts within the provisioning. Keep in mind that this is something that everyone struggles with. Now I know to set aside a good chunk of time for it.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
12/07/12 03:45 PM (13 years ago)
I've had to delete and reinstall my keys at least twice. This is one area where Android totally rules over iOS! Here's a good tutorial on how to delete/reinstall your keys: http://btugwiki.com/index.php/Code_Signing_Basics Mark
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/08/12 04:31 AM (13 years ago)
Thank you for your comments, will give your suggestions and try and let you know!
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/11/12 04:24 AM (13 years ago)
Just checking over all the details again so I can try and make my apps work on my device. Stobe: What settings should I be checking before creating the source code? When you say add to iTunes Connect do you mean my account at developer.apple.com? I can not see how to add the device in iTunes Connect. I have added on my developer account. Any help would be appreciated Thank you
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
12/11/12 04:33 AM (13 years ago)
Yes, the developer account is what I was talking about (adding the device). Not in iTunes Connect (same big site, different section - my bad). And actually, in your Core Settings (in buzztouch), you can set the application name, which will name some things in Xcode. But you'll still have to do most of the renaming in Xcode to make the App ID match the settings in your profiles downloaded from Apple. Frustrating, I know. But you'll get there!
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/11/12 04:36 AM (13 years ago)
Just to follow from my last message. Still having difficulties. When I click Run it just fails right away. It does not even compile at all. What I am missing here?
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/11/12 04:37 AM (13 years ago)
Just noticed your response. What exactly do I update in Xcode. I have changed the bundle identifier to match. What else should I check? Thank you for your help
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/11/12 04:44 AM (13 years ago)
Also when you say you download the development profile for Your iPhone and Your App what do you mean exactly? Do I actually download any files? I did download the certificate and the provisioning profile. Is there anything else to download? What exactly do I add to my phone? I checked the AppId area in my developer account but can not see a way to download any files. Thank you for your help so far. It is frustrating and I do hope I will figure this out. I am wondering whether to buy a new device to use instead of my personal iPhone to see if that helps.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
12/11/12 07:10 AM (13 years ago)
Buying a newer device won't help this. But It is a good excuse to upgrade! Did you drag the profiles into Xcode Organizer?
 
Jonathann
Aspiring developer
Profile
Posts: 35
Reg: Nov 22, 2012
United Kingdom
4,050
like
12/11/12 07:35 AM (13 years ago)
Thank you for getting back to me. Ok I have managed to run a test app on my iPhone using this tutorial: http://www.youtube.com/watch?v=dUdHifLTyrE I created a basic app in xcode without using the buzztouch source code and it worked. I have managed to also get my buzztouch project to work! Very happy now! The main points I needed to change was to use a wildcard type app and make sure the code signing is correct. If anyone follows this video exactly it should work for them. Thank you to everyone who responded to this thread. I am very grateful.
 

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.