IPhone SDK: change certificate and/or provisionning of existing app

Hi,
We recently moved from individual to corporation and I was wondering if we can revoke our dist certificate to create a new one, and at the same time, create new provisionning profiles for our apps?
I'm not sure but for updating apps, don't the provisionning profile needs to remain the same?
Thanks!

I would make sure that you did not set this app id in XCode. On the Developer Portal --> App IDs --> Manage tab it says:
"You are not required to enter your App ID into your Xcode project. Xcode will incorporate the App ID automatically."
I think you need a * at the end of your app id as well in the App ID configuration in the Developer Portal. You should have something like: 9AK2T6Z3YE.com.somecompanyorname.*
I believe you would enter in "com.somecompanyorname.*" in the second input box when creating an app id.

Similar Messages

  • IPhone SDK 3.1: Problem compiling first Hello World App

    Hi,
    I am new to XCode, Mac OS and iPhone Development.
    I had already installed the earlier iPhone SDK (version prior to the latest 3.1) into my Mac OS 10.6. I was not able to run
    the hello world program through xCode as while opting for Build and Run, the simulator it was giving me an error saying that it cannot find the right SDK.
    I had assumed that the old SDK is not compatible with the new Mac OS 10.6 (Snow Leopard). I had then uninstalled the old
    iPhone SDK using Terminal tool, using the command line given in the xCode uninstall guide.
    Installed the latest iPhone SDK (version 3.1), and then tried to compile the hello world app through xCode. Now I am getting the following error:
    *error: can't exec '/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2' (No such file or directory*)
    I had located the above mentioned directory and could not find the file: "gcc-4.2" as mentioned in the error. Instead
    executable files like "i686-apple-darwin10-gcc-4.2.1" are present there.
    My Project Settings are:
    Project Format - xcode 3.2 -compatible
    Base SDK - iPhone Simulator 3.1
    Compiler Version - System Default (GCC 4.2)
    I am totally confused here, as I don't know how to correctly set up the ENV, as I thought the iPhone installer SDK does that automatically.
    Please help me out.
    Thanks in advance for your time,
    JC.
    Error Messages:
    Build helloworldxc of project helloworldxc with configuration Debug
    ProcessPCH /var/folders/P-/P-zMg0EzHree36VYyqKEvU+TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/helloworldxcPrefix-gylsydenhucpkgfnujlgvzvhfhzd/helloworldxcPrefix.pch.gch helloworldxc_Prefix.pch normal i386 objective-c com.apple.compilers.gcc.4_2
    cd "/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc"
    setenv LANG en_US.US-ASCII
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -x objective-c-header -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_IPHONE_OS_VERSION_MINREQUIRED=30000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1 .sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/helloworldxc.build/Deb ug-iphonesimulator/helloworldxc.build/helloworldxc-generated-files.hmap -I/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/helloworldxc.build/D ebug-iphonesimulator/helloworldxc.build/helloworldxc-own-target-headers.hmap -I/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/helloworldxc.build/D ebug-iphonesimulator/helloworldxc.build/helloworldxc-all-target-headers.hmap -iquote /Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/helloworldxc.build/Deb ug-iphonesimulator/helloworldxc.build/helloworldxc-project-headers.hmap -F/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/Debug-iphonesimulato r -I/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/Debug-iphonesimulato r/include -I/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/helloworldxc.build/D ebug-iphonesimulator/helloworldxc.build/DerivedSources/i386 -I/Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/build/helloworldxc.build/D ebug-iphonesimulator/helloworldxc.build/DerivedSources -c /Users/jaideepchakravorty/Jaideep/R&D/helloworldxc/helloworldxc_Prefix.pch -o /var/folders/P-/P-zMg0EzHree36VYyqKEvU+TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/helloworldxcPrefix-gylsydenhucpkgfnujlgvzvhfhzd/helloworldxcPrefix.pch.gch
    while compiling hellowworldxc_Prefix.pch,
    error: can't exec '/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2' (No such file or directory)

    Could you let me know as where is the xcode setting through which it is looking for the compiler in the following path ? This path is probably wrong (Pls refer to the error messages)
    I'm not sure this will be of any help to you -- I'm not sure if it's the answer you're looking for, since I don't really know enough on the subject. However, this may answer your question, or at least maybe help you find the answer for yourself, so it's worth a shot. Try going to Edit Project Settings in the Project menu, and once the Project Settings open, select the Build tab. Search through this and see if you find any preferences along the lines of what you are looking for. In particular I would try the sections toward the bottom about the GCC 4.0 compiler. Sorry if this was a waste of time, but I wanted to try...

  • [iphone sdk] memory allocations and application sandboxing

    folks,
    does the os automatically de-allocate any memory allocated when my app exists? reason i ask is the phone seems to get slower and slower over time with more crashes. a hard restart seems to fix the problem.
    i'm guessing that it is because i'm not cleaning things up on exit or something, but maybe there is something else wrong.
    john

    The academic answer is: It shouldn't matter how much memory you leak in your app after the app has been closed. I can't speak to how the device functions cause I can't test on one yet! But it's UNIX under the hood and that means each process is assigned it's own address space. Any memory allocated to a process is completely reclaimed when the process exits.
    I'm not sure what changes Apple made to the VM kernel subsystem for the iPhone. Unix is already tried and tested in this arena -- so if it's the default Darwin VM I would be very surprised if this is a bug. But since this is embedded they may have added some "shortcuts" for performance and efficiency... hard to say. Since you have the device, are you able to do any system level diagnostics? does the device lose free memory the more your start/stop your app?
    Also -- the device has 128MB of RAM. The 8 or 16GB is storage, which isn't used for RAM. The specs are hard to find, but I think I found the answer through Google on the amount of RAM in the iPhone and iPod Touch.
    Cheers,
    George

  • Replacing certificates and mobile provisioning files

    Im currently replacing certificates in an attempt to resubmit an app. (It wouldnt let me sign in and download using existing ones)
    1 When I went into Keychain Access initially it confirmed by developer certificate was corrupted, so I presume this is cause of frustration.
    2: I replaced both Dev and Dist Certificates
    3: The keychain check said all was good on both, although these were renamed as I made them to make it clear I was viewing/working with correct files.
    Now - When I go to replace existing certificates in app builder I get this message.
    To be honest I have created so many certificates with all its processes in an attempt to get this to work I now have no Idea where this should go.
    I do remember reading a tip somewhere about using web url in reverse as an identifyer but that was before xmas.
    So - Where do I find the Bundle ID they refer too?  
    Long term there has to be an easier way to do this surely...
    Simon

    Bundle id is part of App id which you create in Apple iOS provisioning portal. make sure you have created your Mobile Provisiing files using the same app id/bundle id.

  • IPhone SDK - post bugs and problems with the Firmware...

    So far I'm noticing issues with the 2.0(5A225c) build of the OS.
    Everything is much slower than it used to be for one. I have a simple UIViewController with a table with only 9 text elements. It doesn't even fill the screen and it scrolls like a snail. My app runs so slow, but I can't tell if it's a performance issue in my app, or a debug firmware. Even the slider to unlock is slow and so is scrolling in all OS menus.
    I also noticed in Contacts that the fast slider on the right appears but does not respond to touches. So much for actually using my phone for the next few months. I hope they fix some of this stuff soon.
    Anyone else noticing issues?

    What a relief! I can also confirm that this build is very slow. I am writing a game called Trism (www.demiforce.com for info) which makes use of layered UIImageViews for the game pieces, scoring, borders, and so on. When beta 2 arrived, I got really disheartened because suddenly everything was moving much more slowly. I initially thought the slowdown was because of some fault in my code, which led me to learn some lower-level CoreAnimation and Quartz stuff, which has got the speed back around where it was originally.
    We can only hope the slowdown is due to new features of the OS needing to be tightened up a bit, and not as a sign of things to come. Nevertheless, I encourage other developers out there to take a look at using different implementations if need be. Specifically, if your views or text labels don't require the heavy animatable features of the UIView class, try taking a look at using the lower-level CALayer class and see if that helps your performance.

  • [iphone sdk]:  mailto format and/or image + compose email

    Devs,
    Has anyone had luck with \[ UIApplication openURL:@"mailto:" ] formats?
    I want to either have an http:// link in the body of the text or, even fancier, embed a picture similar to how the photo application animates and then inserts a lowres image inline
    i tried the following but w/ no success (it just pops up an alert about bad format):
    NSString *pixLink = @"http://apple.com/picture.jpg";
    NSString *str = \[NSString stringWithFormat:@"mailto:[email protected]&subject=Yo&body=%@", pixLink];
    NSString *encoded = \[str stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
    NSURL *url = \[\[NSURL alloc] initWithString:encoded];
    \[\[UIApplication sharedApplication] openURL:url];
    thanks!
    -s-

    thanks for the help! i misread the 'Mail Links' documentation and thought the '?' character was used to separate the to: and cc= that was in the example they gave.
    -thanks!

  • I have just updated my iphone 4s to ios7 and when i download an app it says 'Waiting' on the icon then disappears.

    I have been having problems downloading apps for a while now. I only just downloaded IOS 7 but I thought it would help me, it hasn't.
    I go onto the app store to download and app, i enter the correct passwrd and the apps icon appears to be downloaded. The waiting sign appears on the icon and then the icon itself disappears, then on the app store it looks as though i have never tried to download it! PLEASE help! i didnt get Flappy Bird because of this issue! lol

    Hi Nerdyninja12,
    Thanks for visiting Apple Support Communities.
    Try this step first if an app download on your iPad is not completing:
    Try tapping the App, so that it changes to Paused instead of Waiting, then tap it again to resume the install.
    Make sure you don't have any paused downloads in other apps either, like the App Store or iTunes Store.
         App updates won't download on my iPhone, they just say waiting.
         https://discussions.apple.com/thread/4111336
    If the download still does not complete, force close and re-open the App Store. Here's how to force close an iOS application:
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app's preview up to close it.
    These steps come from this article:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    All the best,
    Jeremy

  • Oh my!  I just synced my new iPhone 4 to itunes and it added over 100 apps to my phone.  Help!

    Oh my!  I just plugged in my new iPhone 4 to my computer and pulled up iTunes (on my computer).  Mercy!!  The sync added over 140 apps and 325 songs.
    Where these all Free Apps??  and Wow!  What did I do wrong?  I don't like this auto-load-fill stuff.

         In iTunes you may select and apply which applications and songs you wish to have on your iPhone when it is connected to your computer.
         First select your iPhone, under the "Devices" heading on the left banner, then select the "Apps" tab, on the top center banner, to view your Application settings. From there you may check the boxes of applications you want on your iPhone as well as uncheck the ones you wish to remove.
         Still in the iPhone device settings, select the "Music" tab, on the top center banner. Then select the appropriate syncing setting, depending on whether you wish to: sync (share) all of the songs in your iTunes library with your iPhone; manually select which playlists/artists/albums/genres you want to access on your iPhone.
         After changing these settings, push "Apply" at the bottom left corner and your changes will be reflected on your iPhone.
    For more information on syncing your iPhone, see http://manuals.info.apple.com/en_US/iphone_user_guide.pdf page 18.

  • Why iphones dont have clipboards and attachments in their email apps?

    Two things i dont like in iphones and ipads are that they dont auto fill or have clipboards as samsungs neither can one attach a photo or document via the email app! This seems rediculous for even the less famous and leas expensive smartphones can do these easily!!!! APPLEEEEEEE come on do itttt!!! This is a shame for a GIANT like APPLE

    You can add a photofrom within the Mail app by tapping and holding the body of the message and selecting Insert photo or video.
    Documents can be attached by opening the document, tapping the share icon and selecting Mail.

  • Is there a way to sync only my music from my iphone to my ipad and NOT anything else like apps?

    I have an iPhone 3 and a brand new iPad 2. I was wondering if there was a way I can sync my music, but not everything else such as apps. I don't want my apps from my phone on my ipad, only the music. How do I go about this?
    Please&Thankyou!!

    iTunes will only give you the option to copy your iTunes Store purchases directly from an iPod to the computer, you'll find details in this article: Copying iTunes Store purchases from your iPod or iPhone to a computer
    Purchased applications can be downloaded over again, see this article for details: How to redownload purchased applications from the App Store
    For everything else (music from CDs etc.) there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod Touch or iPhone. You'll find that they have varying degrees of functionality and some will transfer data (such as playcounts and ratings), movies, videos, photos, podcasts and games as well.
    A selection of iPod/iPhone to iTunes utilities:
    Senuti Mac Only (iPod Touch & iPhone compatible)
    SharePod Windows Only (iPhone and iPod Touch compatible)
    TuneJack Windows Only (iPhone and iPod Touch compatible)
    iPodRip Mac & Windows (iPhone and iPod Touch compatible)
    Music Rescue Mac & Windows (iPhone and iPod Touch compatible)
    iPod Music Liberator Mac & Windows (iPhone and iPod Touch compatible)
    iGadget Mac & Windows (iPhone and iPod Touch compatible)
    iRepo Mac & Windows (iPhone and iPod Touch compatible)
    iPod Access Mac & Windows (iPhone and iPod Touch compatible)
    TouchCopy Mac & Windows (iPhone and iPod Touch compatible)

  • Changed email and my list of purchased apps is gone can I get them back?

    Can anybody advise me how to get the list of purchased apps back?  Also the update to my purchased scrabble was horrible and I deleted it.  I went into check my other downloaded games to find nothing.  Not sure if the update caused it.
    Thank you.

    The app store purchased tab is not working right now and it has been broken for about 4 days now. Look at some of the other discussions on this forum about the very same issue. There have been a number of discussions about this in the last few days. We have to wait until Apple fixes it.
    https://discussions.apple.com/message/19164640#19164640
    https://discussions.apple.com/message/19164490#19164490
    https://discussions.apple.com/message/19164201#19164201
    https://discussions.apple.com/thread/4170403
    If you changed the Apple ID - not created a new one - but changed the email address for the ID - your purchased apps should still be available for you to download again for free. Do a search for the app in the app store and when the app shows up in the search, you can download it again from the window in which the app appears.

  • I've changed AppleID and now can't update Apps. Help!

    I've seen lots of discussion on similar lines but don't seem to find any solutions. To be clear, all I've done is follow instructions from Apple regarding how to change AppleID. I did this as old email account was about to become obsolete. Which also means I can't just change back. When I now try to update Apps, the password popup has the old AppleID hardwired. If I sign out and in with new AppleID this does not change. I don't recall any warning from Apple that changing my AppleID would create this problem. I am now dead scared that it is being treated like a new account which will also cause me problems with music downloads etc. From the amount of similar complaints online I would not seem to be the only victim here. Does anyone have a clear answer to this?

    On your iDevice, make sure you first log out then log back in with the updated AppleID.
    Settings > Store, tap the account name then Sign out and Sign in.
    The AppleID used to purchase the item is embedded into the item at time of purchase.
    If you have simply updated your AppleID, just use the current password when the old AppleID shows up. You don't need to (and cannot) change the AppleID to the new AppleID.

  • IPhone - SDK 3.0 - Store Kit - Has anyone made app restore work?

    Hi all,
    I'm doing some tests with the Store Kit for the in-app purchase feature. Everything seems to work fine but this:
    I just couldn't get restore to work.
    In particular, I notice that the SKPaymentQueue documentation refers to paymentQueueRestoreCompletedTransactionsFinished:
    and paymentQueue:restoreCompletedTransactionsFailedWithError: , supposedly part of the SKPaymentTransactionObserver protocol, but its reference page doesn't mention it at all.
    I still tried to implement it with the following prototypes:
    - (void)paymentQueue: (SKPaymentQueue *)queue restoreCompletedTransactionsFinished: (NSArray *)transactions;
    - (void)paymentQueue: (SKPaymentQueue *)queue restoreCompletedTransactionsFailedWithError: (NSError *)error;
    For testing, I have three elements in the sandbox, one of each kind, and I bought all of them and then deleted the application from the iPhone. When I install it back, I'm expecting restoreCompletedTransactions to get at least some of them restored, but none of the observer's selector gets called back.
    Has anyone successfully restored transactions? Did I miss something?
    Any help would be greatly appreciated.
    Regards

    Hi,
    I'm looking for informations about In App purchasing but I find any interesting things !!
    I see that your tests work fine until the restored transactions.
    So could help me to start with this feature ? I've read Store Kit Programming but I don't understand how start?
    What are the first stages to follow ? How do you create a list of product to store with their ID associated ?
    Thank you!
    Cédric.
    PS:I write this post in English but i'm French so you can reply me in French or not!!

  • Changing SQL Certificates and/or Symmetric Keys

    Re: Changing SQL Certificates and/or Symmetric Keys
    We need to encrypt some sensitive data and are looking at SQL Column Level encryption, using symetric keys.
    For example, we are following this example
    http://www.mssqltips.com/sqlservertip/2431/sql-server-column-level-encryption-example-using-symmetric-keys/
    We are told that we might be required to change certificates and/or keys on a schedule, say every 1 year. How how do you change certificates and/or keys and what is the ramification for the data that is encrypted using them - say EncryptedColumn1? 
    -- Create self signed certificate
    USE encrypt_test;
    GO
    CREATE CERTIFICATE Certificate1
    WITH SUBJECT = 'Protect Data';
    GO
    -- Create symmetric Key
    USE encrypt_test;
    GO
    CREATE SYMMETRIC KEY SymmetricKey1
    WITH ALGORITHM = AES_128
    ENCRYPTION BY CERTIFICATE Certificate1;
    GO
    -- Populating encrypted data into new column
    USE encrypt_test;
    GO
    -- Opens the symmetric key for use
    OPEN SYMMETRIC KEY SymmetricKey1
    DECRYPTION BY CERTIFICATE Certificate1;
    GO
    UPDATE Customer_data
    SET Credit_card_number_encrypt = EncryptByKey (Key_GUID('SymmetricKey1'),Credit_card_number)
    FROM dbo.Customer_data;
    GO
    -- Closes the symmetric key
    CLOSE SYMMETRIC KEY SymmetricKey1;
    GO

    I think you are saying that to recycle the certificate (Certificate1) in my example to use anALTER SYMMETRIC KEY DROP ENCRYPTION  then ALTER SYMMETRIC KEY ADD ENCRYPTION and my column data will still be encrypted with the same key but built upon a different
    certificate.
    Yup.
    what happens when i need to recycle the key?
    Then it gets messy. You will need to descrypt and reencrypt with the new key.
    I'm not well versed in the requirements for which keys to recycle, but I note that in SQL Server, certificates has an expiration date. Symmetric keys have not. Also, certificates can be imported and be signed by a trusted provider. Symmetric keys are
    some random bits created in SQL Server. (With the exception of keys från EKM devices, which is a rare thing.)
    Erland Sommarskog, SQL Server MVP, [email protected]

  • IPhone SDK 2.2 memory corruption

    Hello. I'm working on an application for iPhone SDK 2.2 and seem to be having weird memory corruption problems. Not necessarily leaks because using Instruments shows my memory stamp never going above about 1.8 megs. The nature of the app is a database of animals so I'm constantly loading and unloading sounds and images. None of the objects are very large (at most I'll have 4 800k pngs loaded at once) and I've checked and rechecked my alloc/retain/release and everything is in order (hence no memory usage increase). However...after using the application for a while I'll notice strange behavior. For example:
    1) we have a UILabel as the title for each page. After a while the font size of this will change.
    2) I have several screens with a subclassed UIScrollView where images are loaded and then added to. The problem shows itself here by the images not showing up. there's no crash, stepping through the debugger shows that the image loads up fine, it's just that the image is not there.
    3) I have a UILabel at the top of an animal description screen, which in the nib file is called "Animal Name" by default. This will change to show "Animal Name" at the top.
    I've removed all audio in our latest build so that isn't the problem. What I'm starting to suspect is that altering anything defined in a nib file will cause corruption. For example, the UIScrollView is defined in the nib file, and I constantly am reassigning the contents of that with a UIImageView. This UIImageView is handled within the subview class like :
    UIImageView *imgView = [[UIImageView alloc] initWithImage: [ UIImage imageWithContentsOfFile:[[NSBundle mainBundle ] pathForResource:imageToLoad ofType:@"png" ]] ];
    imgView.tag = 50;
    [self addSubview:imgView ];
    [ imgView release ];
    Then later when moving away from the screen I'll find that view's tag and remove it from the superview (since addSubView increases the retain count, the alloc+addSubView is cancelled by release+removeFromSuperView)
    I can't explain why titles that are never changed would be affected, but it must somehow be related. What I'm wondering is: are there any known issues involving modification of the contents of objects defined in Nib files? Perhaps the memory allocated when initWithNibName is restrained, then any modification of objects allocated within it can cause corruption. I'm starting to think I should just alloc and free anything modified in code and skip using nib files altogether (I reset the text on buttons for example). If this is a known issue please let me know. I'll give you more information if I can.
    Thank you

    Just download the huge SDK package and install. No need to uninstall the old SDK.

Maybe you are looking for

  • Quiktime causing iTunes not to open and run

    I see there are a lot of people having problems installing iTunes for windows. I have windows xp and downloaded the latest iTunes program so I could put music onto my nano (1st gen) and use it now that it is fixed. The download was successful but slo

  • [FIXED] Compiz runs only with emerald and crashes with metacity

    Hey, I currently try to use a metacity theme and have compiz enabled but apparently that's something compiz doesn't really like. One think i noticed in fusion-icon is that the entire metacity option under: "Select Window Devorator" is just not there.

  • Billing date issue - system date as default.

    Hi , We have a requirement to consider billing date as the system date in creating the billing document. Requirement. 1. Sales Order is created and Blocked. 2. Sales Order is released the next month. 3. Billing document is created (manually or Batch)

  • Pricing condition determination in billing

    I created a pricing condition record which will be determined just in billing document.It is tariff price. Just to determine this pricing condition in the billing document how should I configure the system? Now for Standard sales order and for billin

  • How to interrupt running subvi with global variation

    Hi,all    I want to use global variation STOP to interrupt the running VI at anytime, but the subVI must be running until executing the WHILE. I knew when one action is  operated in the EVENT case, the other action will not be iperated. My question i