在iOS设备上运行Detached App

时间:2018-06-11 21:55:30

标签: ios react-native expo

我是新手,所以请耐心等待。

在我分离应用程序后,我想在iOS设备上运行它。我不打算把它放在App Store或出售它。我只是建立它来自学世博/ React Native。我宁愿不使用TestFlight或通过ExpoClient运行它,因为我正在构建一个独立的应用程序。

我跑的时候:

exp build:iOS --clear-credentials

我提供了我的:

  1. Apple Push Service P12文件
  2. iOS制作移动配置资料
  3. iOS制作P12文件
  4. Expo汇编并创建了一个巨大的IPA,我下载了它。我读到它会在iPad或iPhone上安装时切片应用程序。当我试图将它拖到Xcode的设备和应用程序的应用程序部分时我的iPhone的模拟器窗口,它给我以下消息:

    iPhone is busy: Installing to iPhone | Performing install actions. 
    

    然后声明:

    App installation failed. There was an internal API error.
    

    证书/ p12有效,未过期且未撤销。我为这三个人使用“生产”。这是正确的还是我应该使用开发?还有其他原因导致它无法在设备上安装吗?

    这是我在搜索应用程序进程时在设备的控制台中看到的信息:

    default 17:58:25.067999 -0400   mobile_installation_proxy   (null):5:1:1:1:Beginning installation for file:///var/mobile/Media/PublicStaging/myapp.ipa/ with options {
        AllowInstallLocalProvisioned = 1;
        IsUserInitiated = 1;
        PackageType = Customer;
    }
    default 17:58:25.074385 -0400   lsd (null):5:1:1:1:Ininstall file:///var/mobile/Media/PublicStaging/myapp.ipa/ with options {
        AllowInstallLocalProvisioned = 1;
        IsUserInitiated = 1;
        PackageType = Customer;
    }
    default 17:58:25.076205 -0400   lsd (null):5:1:1:1:Ininstall file:///var/mobile/Media/PublicStaging/install.ipa/ with options {
        AllowInstallLocalProvisioned = 1;
        IsUserInitiated = 1;
        PackageType = Customer;
    }
    default 17:58:25.098446 -0400   installd    0x16f65f000 -[MIClientConnection _doInstallationForURL:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/myapp.ipa" type Customer (LSInstallType = (null)) requested by lsd (pid 84)
    default 17:58:25.236942 -0400   assertiond  Request to create termination assertion <BKSTerminationAssertionCreateEvent: 0x147d56050; Identifier: 12222-1C39A932-E653-4E9F-BBB7-6B6034CDF2B4; Name: FBSApplicationTerminationAssertion; Target BundleID: com.mycompany.myapp; Efficacy: Unconditional> from client <BKClientHandle: 0x147d227a0; installd:12222; connections: 1>
    default 17:58:25.243369 -0400   installd    Acquired termination assertion for event <BKSTerminationAssertionCreateEvent: 0x100c20de0; Identifier: 12222-1C39A932-E653-4E9F-BBB7-6B6034CDF2B4; Name: FBSApplicationTerminationAssertion; Target BundleID: com.mycompany.myapp; Efficacy: Unconditional>
    default 17:58:25.257927 -0400   installd    0x16f65f000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.mycompany.myapp; Version=1, ShortVersion=1.0.0>
    default 17:58:25.259713 -0400   installd    com.mycompany.myapp:7:5:1:1:Start : Install (New)
    default 17:58:42.115349 -0400   installd    com.mycompany.myapp:7:5:2:0:Fail (End) : Install (New)
    default 17:58:42.119070 -0400   lsd (null):5:1:2:0:MobileInstallation returned nil for file:///var/mobile/Media/PublicStaging/myapp.ipa/
    

0 个答案:

没有答案