Developing with and distributing from multiple macs

Discussion in 'iOS Programming' started by CONNERtheBUSH, Apr 21, 2014.

  1. CONNERtheBUSH, Apr 21, 2014
    Last edited by a moderator: Apr 21, 2014

    CONNERtheBUSH macrumors newbie

    Joined:
    Aug 4, 2011
    #1
    *I have contacted Apple with this issue and was told that it is beyond their expertise/support to help me and that I basically just needed to post on their developer forums (which is pretty desolate).

    I can successfully distribute an app from my Macbook Air, my original dev machine. I am trying to incorporate a 2008 MacPro as well. I really need to be able to distribute apps from the MacPro. I Exported my dev profile and certificates per Apple's instructions and imported them onto the MacPro. I copied the project folder from my macbook (working distribution) to MacPro (not working) and opened it with Xcode. I then built and archived the project, went to Organizer, selected the latest archive, and clicked Distribute. From there I did what I always do: Select the second option for Enterprise, use the proper provisioning profile, and export it to the server it's being hosted on. When I click the link to install the app it starts to download just fine but finishes with the weird no icon image as the app icon and when I try to open it the app just immediately closes.

    The site is secured with SSL. I know this because it successfully downloads when distributed from the Macbook Air. I have checked to make sure I am using the correct signing profile per instructions here http://stackoverflow.com/questions/...ces-with-unregistered-uuids/18642782#18642782. I have looked at both keychains to make sure each certificate matches; they do.

    What could be going wrong here? I have made copies of a successful install log and an unsuccessful one, replacing app id's and such with generic names. I will post below:

    A good install:

    Code:
    Apr 21 10:26:08 My-iPad itunesstored[86] <Warning>: LaunchServices: installing placeholder for com.company.app
    Apr 21 10:26:08 My-iPad installd[60] <Notice>: 0x304000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-8337072965010215268.app" requested by itunesstored
    Apr 21 10:26:08 My-iPad installd[60] <Notice>: 0x304000 MobileInstallationInstall_Server: Installing app com.company.app
    Apr 21 10:26:08 My-iPad installd[60] <Notice>: 0x304000 install_application: Installing parallel placeholder
    Apr 21 10:26:08 My-iPad installd[60] <Notice>: 0x304000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.05s; LS Sync: 0.00s; Overall: 0.06s
    Apr 21 10:26:10 My-iPad itunesstored[86] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.company.app (Placeholder) withPhase:0
    Apr 21 10:26:14 My-iPad SpringBoard[33] <Warning>: Killing com.company.app for app installation
    Apr 21 10:26:14 My-iPad itunesstored[86] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: com.company.app (Placeholder)
    Apr 21 10:26:14 My-iPad com.apple.launchd[1] (UIKitApplication:com.company.app[0x32a4][220]) <Notice>: (UIKitApplication:com.company.app[0x32a4]) Exited: Killed: 9
    Apr 21 10:26:14 My-iPad itunesstored[86] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.company.app (Placeholder) withPhase:1
    Apr 21 10:26:14 My-iPad backboardd[29] <Warning>: Application 'UIKitApplication:com.company.app[0x32a4]' exited abnormally with signal 9: Killed: 9
    Apr 21 10:26:14 My-iPad ***[70] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Active; fractionCompleted=0.420000> to 1
    Apr 21 10:26:14 My-iPad installd[60] <Notice>: 0x304000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/-8337072965010215268/8017866364705865286" requested by itunesstored
    Apr 21 10:26:14 My-iPad installd[60] <Notice>: 0x304000 MobileInstallationInstall_Server: Installing app com.company.app
    Apr 21 10:26:17 My-iPad installd[60] <Notice>: 0x304000 MobileInstallationInstall_Server: Staging: 0.69s; Waiting: 0.00s; Installation: 2.15s; LS Sync: 0.00s; Overall: 2.84s
    Apr 21 10:26:17 My-iPad ***[70] <Warning>: LaunchServices: Updating identifier store
    Apr 21 10:26:17 My-iPad itunesstored[86] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.company.app.Installing - <NSProgress: phase=Installing; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
    Apr 21 10:26:17 My-iPad ***[70] <Warning>: LaunchServices: installation ended for app com.company.app
    Apr 21 10:26:17 My-iPad ***[70] <Warning>: LSInstallProgress: In observeValueForKeyPath:fractionCompleted could not find parent progress for com.company.app, it may have been removed
    Apr 21 10:26:17 My-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:837: front-facing-camera cannot generate notifications yet
    Apr 21 10:26:17 My-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: still-camera is static and will never generate a notification
    Apr 21 10:26:17 My-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: ipad is static and will never generate a notification
    Apr 21 10:26:17 My-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: any-telephony is static and will never generate a notification
    Apr 21 10:26:17 My-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: stand-alone-contacts is static and will never generate a notification
    Apr 21 10:26:17 My-iPad ***[70] <Warning>: LSInstallProgress: In observeValueForKeyPath:userInfo.installState could not find parent progress for com.company.app, it may have been removed
    Apr 21 10:26:17 My-iPad itunesstored[86] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.company.app.Loading - <NSProgress: phase=Loading; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
    Apr 21 10:26:21 My-iPad kernel[0] <Debug>: launchd[242] Container: /private/var/mobile/Applications/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX (sandbox)
    Apr 21 10:26:21 My-iPad backboardd[29] <Error>: HID: The 'Passive' connection 'AppName' access to protected services is denied.


    A bad install:

    Code:
    Apr 21 09:48:38 My-iPad backboardd[29] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1
    Apr 21 09:48:38 My-iPad SpringBoard[33] <Warning>: [MPUSystemMediaControls] Enabling lock screen media controls updates for screen turning on.
    Apr 21 09:48:38 My-iPad backboardd[29] <Notice>: MultitouchHID: detection mode: 255->5 (deferring until bootloaded)
    Apr 21 09:48:38 My-iPad backboardd[29] <Notice>: MultitouchHID: device bootloaded
    Apr 21 09:48:38 My-iPad backboardd[29] <Notice>: MultitouchHID: detection mode: 5->5
    Apr 21 09:48:38 My-iPad kernel[0] <Debug>: ALS: AppleARMBacklight::handleMessageGated - framebufferState -> 1
    Apr 21 09:48:38 My-iPad kernel[0] <Debug>: ALS: AppleARMBacklight::setBacklightEnableGated 1 (set level to 0x72d)
    Apr 21 09:48:39 My-iPad backboardd[29] <Notice>: MultitouchHID: detection mode: 5->0
    Apr 21 09:48:44 My-iPad kernel[0] <Debug>: launchd[143] Container: /private/var/mobile/Applications/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX (sandbox)
    Apr 21 09:48:44 My-iPad backboardd[29] <Error>: HID: The 'Passive' connection 'MobileSafari' access to protected services is denied.
    Apr 21 09:48:49 My-iPad medialibraryd[89] <Warning>: {MediaLibrary} [MediaLibraryService] Cancelling any active or suspended import operations in progress for process backupd (process ID = 22)
    Apr 21 09:48:49 My-iPad medialibraryd[89] <Warning>: {MediaLibrary} [MLWriter] Cleaning up any remaining transactions for ended process backupd (process ID = 22)
    Apr 21 09:48:56 My-iPad itunesstored[86] <Warning>: LaunchServices: installing placeholder for com.company.app
    Apr 21 09:48:56 My-iPad installd[60] <Notice>: 0x304000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/5713010216093269973.app" requested by itunesstored
    Apr 21 09:48:56 My-iPad installd[60] <Notice>: 0x304000 MobileInstallationInstall_Server: Installing app com.company.app
    Apr 21 09:48:56 My-iPad installd[60] <Notice>: 0x304000 install_application: Installing parallel placeholder
    Apr 21 09:48:56 My-iPad installd[60] <Notice>: 0x304000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.04s; LS Sync: 0.00s; Overall: 0.06s
    Apr 21 09:48:56 My-iPad filecoordinationd[118] <Warning>: sandboxing denied subscription to progress on category com.company.app (bundle id (null), XXXXXXXX-XXXX-XXXX—XXXX-XXXXXXXXXXXX)
    Apr 21 09:48:57 My-iPad itunesstored[86] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.company.app (Placeholder) withPhase:0
    Apr 21 09:49:08 My-iPad SpringBoard[33] <Warning>: Killing com.company.app for app installation
    Apr 21 09:49:08 My-iPad itunesstored[86] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: com.company.app (Placeholder)
    Apr 21 09:49:08 My-iPad itunesstored[86] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.company.app (Placeholder) withPhase:1
    Apr 21 09:49:08 My-iPad ***[70] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Active; fractionCompleted=0.540000> to 1
    Apr 21 09:49:08 My-iPad installd[60] <Notice>: 0x304000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/5713010216093269973/-4374469412750489017" requested by itunesstored
    Apr 21 09:49:08 My-iPad installd[60] <Notice>: 0x304000 MobileInstallationInstall_Server: Installing app com.company.app
    Apr 21 09:49:11 My-iPad installd[60] <Notice>: 0x304000 MobileInstallationInstall_Server: Staging: 0.73s; Waiting: 0.00s; Installation: 2.29s; LS Sync: 0.00s; Overall: 3.02s
    Apr 21 09:49:11 My-iPad ***[70] <Warning>: LaunchServices: Updating identifier store
    Apr 21 09:49:11 My-iPad itunesstored[86] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.company.app.Installing - <NSProgress: phase=Installing; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
    Apr 21 09:49:11 My-iPad ***[70] <Warning>: LaunchServices: installation ended for app com.company.app
    Apr 21 09:49:11 My-iPad ***[70] <Warning>: LSInstallProgress: In observeValueForKeyPath:userInfo.installState could not find parent progress for com.company.app, it may have been removed
    Apr 21 09:49:11 My-iPad ***[70] <Warning>: LSInstallProgress: In observeValueForKeyPath:fractionCompleted could not find parent progress for com.company.app, it may have been removed
    Apr 21 09:49:11 My-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:837: front-facing-camera cannot generate notifications yet
    Apr 21 09:49:11 My-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: still-camera is static and will never generate a notification
    Apr 21 09:49:11 My-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: ipad is static and will never generate a notification
    Apr 21 09:49:11 My-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: any-telephony is static and will never generate a notification
    Apr 21 09:49:11 My-iPad SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: stand-alone-contacts is static and will never generate a notification
    Apr 21 09:49:11 My-iPad SpringBoard[33] <Warning>: LICreateIconForImage passed NULL CGImageRef image
    Apr 21 09:49:11 My-iPad ***[70] <Warning>: LSInstallProgress: In observeValueForKeyPath:userInfo.installState could not find parent progress for com.company.app, it may have been removed
    Apr 21 09:49:11 My-iPad itunesstored[86] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.company.app.Loading - <NSProgress: phase=Loading; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
    Apr 21 09:49:30 My-iPad SpringBoard[33] <Warning>: LICreateIconForImage passed NULL CGImageRef image
    Apr 21 09:49:30 My-iPad kernel[0] <Debug>: launchd[161] Container: /private/var/mobile/Applications/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX (sandbox)
    Apr 21 09:49:30 My-iPad backboardd[29] <Error>: HID: The 'Passive' connection 'AppName' access to protected services is denied.
    Apr 21 09:49:31 My-iPad AppName[161] <Error>: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle </var/mobile/Applications/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/AppName.app> (loaded)'
    *** First throw call stack:
    (0x2e3c2fd3 0x38ea5ccf 0x310b0a71 0x30e55c75 0x30c4849d 0x30be4709 0x30be3871 0x30c47cc9 0x331f1aed 0x331f16d7 0x2e38dab7 0x2e38da53 0x2e38c227 0x2e2f6f4f 0x2e2f6d33 0x30c46ef1 0x30c4216d 0x55733 0x393b2ab7)
    Apr 21 09:49:31 My-iPad ReportCrash[163] <Notice>: ReportCrash acting against PID 161
    Apr 21 09:49:31 My-iPad ReportCrash[163] <Notice>: Formulating crash report for process AppName[161]
    Apr 21 09:49:31 My-iPad com.apple.launchd[1] (UIKitApplication:com.company.app[0x9f8d][161]) <Warning>: (UIKitApplication:com.company.app[0x9f8d]) Job appears to have crashed: Abort trap: 6
    Apr 21 09:49:31 My-iPad backboardd[29] <Warning>: Application 'UIKitApplication:com.company.app[0x9f8d]' exited abnormally with signal 6: Abort trap: 6
    Apr 21 09:49:31 My-iPad ReportCrash[163] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/AppName_2014-04-21-094931_My-iPad.ips using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
     
  2. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #2
    Looks like your project folder might be missing some of the apps image or storyboard assets. Are you using the same version of Xcode on both systems?
     

Share This Page