RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
04/30/13 04:42 PM (12 years ago)

Two Problems

Hello everyone! I'm ready to submit my first App to iTunes built with the App Code 2.0 builder and I'm following steps in "how to" and I've run into two problems: 1. I cannot build for archive because I don't know why that option isn't selectable in the drop down menu. I must have missed a step. Next, I can't build for archive anyway because I do not know how to fix these bugs: http://imgur.com/z4IsZVe Sure could use some expertise. I'm soooo close!
 
jvalley
Aspiring developer
Profile
Posts: 456
Reg: Feb 16, 2013
Green Bay,Wi
9,360
like
04/30/13 05:08 PM (12 years ago)
do a clean and build.. Make sure that IOS is selected where you check ipad or iphone on top for the simulator
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
04/30/13 05:15 PM (12 years ago)
Ok, jvalley! That took care of the access to build for archiving problem. Should I repair the 4 yellow triangle issue? Is so, how??? lol After the clean and build the issues are still present.
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
04/30/13 05:20 PM (12 years ago)
Lol, the dreaded code signing error! This is very tricky....uuugh!
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
04/30/13 05:22 PM (12 years ago)
Are you supposed to code sign in both areas: project and target? Make sure they all match? I copied the same format in the "how to" pdf but it didn't specify which Build Setting view to take action in.
 
jvalley
Aspiring developer
Profile
Posts: 456
Reg: Feb 16, 2013
Green Bay,Wi
9,360
like
04/30/13 05:46 PM (12 years ago)
If they are issues it's ok just click on target and code sign that
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
04/30/13 05:58 PM (12 years ago)
Ok, done! But now it says code signing error because, "Code Sign error: A valid provisioning profile matching the application's Identifier 'com.moablocalguide.com' could not be found" Does this mean that I have to validate in the provisioning portal for the App identifier 'com.moablocalguide.com' or does this mean I need to check BT_config in Xcode to see if Identifier exists in the project, or both? *laughing* My head hurts! So confusing. Hahaaa thank you so far, valley
 
jvalley
Aspiring developer
Profile
Posts: 456
Reg: Feb 16, 2013
Green Bay,Wi
9,360
like
04/30/13 06:25 PM (12 years ago)
ok.. you download your provisional certificate.. and your profile certificate.. double click them and now they are in xcode.. make sure your bundle identfiers all match.. You profile is in itunes connect
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
04/30/13 06:28 PM (12 years ago)
Ok, done! But now it says code signing error because, "Code Sign error: A valid provisioning profile matching the application's Identifier 'com.moablocalguide.com' could not be found" Does this mean that I have to validate in the provisioning portal for the App identifier 'com.moablocalguide.com' or does this mean I need to check BT_config in Xcode to see if Identifier exists in the project, or both? *laughing* My head hurts! So confusing. Hahaaa thank you so far, valley
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
04/30/13 06:35 PM (12 years ago)
I decided to do an adhoc provisioning profile for distribution to test the app on my device and I think I named it incorrectly where the organizer now says, "Valid signing identity, not found". I added the word test in front of the original identifier.(Worried that when I decided to do a real distribution after testing, I would get a warning, "Identifier already under adhoc provision) Is there a way to change that name in the organizer without creating another provisioning profile for adhoc distribution?
 
jvalley
Aspiring developer
Profile
Posts: 456
Reg: Feb 16, 2013
Green Bay,Wi
9,360
like
04/30/13 06:38 PM (12 years ago)
Your better of deleting the certificate and redoing I believe
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
04/30/13 06:39 PM (12 years ago)
Agreed
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
04/30/13 06:44 PM (12 years ago)
Still, valid signing identity not found? lol Oh my
 
jvalley
Aspiring developer
Profile
Posts: 456
Reg: Feb 16, 2013
Green Bay,Wi
9,360
like
04/30/13 06:54 PM (12 years ago)
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
04/30/13 06:58 PM (12 years ago)
thank you, I'm getting spanked...lol.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
04/30/13 10:03 PM (12 years ago)
Alternatively, follow this tutorial -- it has screenshots. http://www.idev101.com/code/Distribution/build.html -- Niraj
 
LevensGardener
Aspiring developer
Profile
Posts: 220
Reg: Sep 30, 2012
Kendal
10,450
like
04/30/13 11:22 PM (12 years ago)
Stephan's instructions did it for me. It seems like a lot of steps to follow exactly and get in line, but it works! I was interested to see you have come here via "App Code 2.0 builder." I have a sneaking suspicion they are selling on access to Buzztouch for a lot of money. Do you get anything else from their 'service'?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/01/13 12:03 AM (12 years ago)
Follow the guidelines as set above; there's really nothing I can add to what has already been provided. But if you just want to 'look' at what it's supposed to look like, I took a few screen shots of various provisioning on my system... If you provision with a wildcard (*) you can create a 'suite' of apps using the same provisioning profile, but you cannot implement certain features, most notably 'push'. https://dl.dropboxusercontent.com/u/115208762/bundle.png using no asterisk (no wildcard) means one provisioning profile per app, but you have more options, such as push messaging, and some other stuff I haven't bothered with yet... https://dl.dropboxusercontent.com/u/115208762/bundle2.png Now there is an 'ad hoc' selection, which I typically use my 'developer' cert with... But as you have more apps, you'll have more selections (provisions) to choose from. Make sure you choose the right provisioning profile for the app you're trying to build. https://dl.dropboxusercontent.com/u/115208762/Bundle3.png Oh, and a 'by the way'. If your 'archive' option isn't available in your menu, try changing the 'iOS target' from a simulator to 'iOS Device', even if you're not using one. Cheers! -- Smug
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
05/01/13 08:21 AM (12 years ago)
Quote of the day: "If you're not uncomfortable, you are not learning". With that said, thank you so much guys, I think the most challenging issue for me is I don't like following patterns, I'de rather know the principles behind the actions. I'm lacking contextual information as to why I'm doing this process. It would be lovely to have a lecture on provisioning, why it is what it is and how different profiles are utilized for what and how they must be carried out in Xcode. Apple's tutorials often miss the mark in this regard. For now, I must "fake it, until I make it". Thank you for all the instructions. Have a terrific day everyone and I will let you know when my App is uploaded to iTunes!
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
05/03/13 11:07 AM (12 years ago)
Okay, I'm on step 4 below. Do I want the wildcard ID or the ID associated with the app I want to test on my iPhone? STEP5 In Provisioning Portal 1. Click Provisioning (in left menu) ->Development Tab. 2. Find your apps Development Profile (i should be marked with INVALID now - since you revoked the certs) 3. Click MODIFY 4. Choose the APP ID that you want to associate this Development Profile with. Also chose the devices if that is not already checked. 5. Press SUBMIT 6. Click Development Tab again (in order to refresh the page) 7. Now your Development Profile should be Active. 8. Click DOWNLOAD 9. Double click the downloaded file.
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
05/03/13 11:14 AM (12 years ago)
Okay, I'm on step 4 below. Do I want the wildcard ID or the ID associated with the app I want to test on my iPhone? STEP5 In Provisioning Portal 1. Click Provisioning (in left menu) ->Development Tab. 2. Find your apps Development Profile (i should be marked with INVALID now - since you revoked the certs) 3. Click MODIFY 4. Choose the APP ID that you want to associate this Development Profile with. Also chose the devices if that is not already checked. 5. Press SUBMIT 6. Click Development Tab again (in order to refresh the page) 7. Now your Development Profile should be Active. 8. Click DOWNLOAD 9. Double click the downloaded file.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
05/03/13 11:57 AM (12 years ago)
You want the ID associated with the app. -- Niraj
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
05/03/13 12:05 PM (12 years ago)
For testing with development profile? Can I get away using wildcard option for now, because it allowed me to sign into the certificate. Build Succeeded! I can create a distribution profile and select the EXACT App ID when I'm ready to upload to the App store, right? Anyway....I want to run the App on my device and here is where I'm at: Now that I have the code signing correct, at least it seems, when I select build then run, it succeeds, but there is nothing on my device but a blank white screen?? I got the app icop on my phones screen but when I tap it...NOTHING??? Do I have to select my device in Xcode from the Project menu and target menu then hit clean, build, run? I have the iPhone 5.0
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
05/03/13 12:38 PM (12 years ago)
So, I used the wildcard ID and assigned it to a development certificate and I code signed everything to appropriate development certificate and I selected a version target both on Project and Target version 6.0 since my IOS is version 6.1.3 and STILL, when I clean, build and run on my device, it says "build succeeded" and I have an Icon on my screen, but when I tap....it goes to a white screen with nothing??? What am I missing? Do I need to go back to the organizer, delete the provisioning profile, go the the provisioning portal and revoke the certificate and start all over again? Once created again, this time assign the EXACT app id to the new development profile and it should work? I hate to do that. Is there a way to test in Xcode to see of it's something other than my inability to run the app on my device?
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
05/03/13 01:09 PM (12 years ago)
Ok, so I deleted the wildcard provisioning profile in the organizer and edited my development provisioning profile in the provisioning portal and assigned the EXACT APP ID to the development certificate. Double clicked the file and it's "valid" in the organizer. Back to Xcode and set all code signs to "don't sign". Cleaned. Code sign successful, build successful then run to my specified device, which is my personal iPhone. Made sure the freakin' phone is pulled in, got Icon for app, tap it and AGAIN, nothing??? lol. What's the matter?
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
05/03/13 03:53 PM (12 years ago)
Does it still work in the Simulator? -- Niraj
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
05/03/13 03:57 PM (12 years ago)
Yes, Niraj. My head is splitting, all day with this. I can't get it to test on my phone before I upload to the App store. lol. I get the Icon on my phone screen, I have the phone plugged into my Mac, i have an internet signal, i have checked my BT_plugins and they are all in Xcode. I have no idea what the issue is. :^ ))))
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
05/03/13 04:21 PM (12 years ago)
Lets do a JoinMe.com session. That allows me to watch your screen via the Internet. Go ahead and download the free trial, install, and then click on Share. When you have the 9-digit code, give me a call. http://JoinMe.com (after the trial gracefully expires, you will still be able to use the Share-Watch service in a limited, yet very useful mode) I will Private Message you with my phone information. -- Niraj
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
05/03/13 04:36 PM (12 years ago)
Niraj, I have 9 digit number in join me. The session prompt is at the top of the screen. I'm embarrassed to say, i do not know how to access PM in my profile. I'm a guest user, do I have to join?
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
05/03/13 06:33 PM (12 years ago)
Problem solved, he had an outdated Splash plugin from the AppCode service. -- Niraj
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/03/13 07:23 PM (12 years ago)
Nice Work, Niraj! Cheers! -- Smug
 

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.