Xamarin.ios MonoTouch:仅当我启用调试时才部署临时构建

Xamarin.ios MonoTouch:仅当我启用调试时才部署临时构建,xamarin.ios,provisioning-profile,Xamarin.ios,Provisioning Profile,我有一个应用程序,我已经部署了过去两年从MonoDevelop。该应用程序有两个版本,具有不同的捆绑ID,因此有两个配置文件。在此之前,我已经切换了bundle id,并进行了部署,一切都很顺利 在MonoDevelop/MonoTouch(3.0.4.7/6.0.2)的最新升级之后,对于使用LLVM构建且未启用调试的临时构建,我无法再使用它。由于这是一个很长的开发时间,我不确定这是由Monodevelop/MonoTouch更改还是我的项目更改引起的 奇怪的是,如果我检查发布版本的“启用调试”

我有一个应用程序,我已经部署了过去两年从MonoDevelop。该应用程序有两个版本,具有不同的捆绑ID,因此有两个配置文件。在此之前,我已经切换了bundle id,并进行了部署,一切都很顺利

在MonoDevelop/MonoTouch(3.0.4.7/6.0.2)的最新升级之后,对于使用LLVM构建且未启用调试的临时构建,我无法再使用它。由于这是一个很长的开发时间,我不确定这是由Monodevelop/MonoTouch更改还是我的项目更改引起的

奇怪的是,如果我检查发布版本的“启用调试”,所有部署都会正常。然后,它会记录一条警告:“冲突的--debug和--llvm选项。软调试被禁用。”这似乎表明启用调试选项没有效果

所以问题是:如果我在发布版本上启用调试,为什么应用程序只能正确部署到设备上

第三方内容方面的唯一变化是我们从这里添加了新的Admob绑定: ,但据我所知,发布版本中不需要包含任何特殊参数

我已经在没有调试的情况下压缩了一个分发版本,并将其发送给苹果公司进行审批,但我认为它将与我的临时版本有相同的问题,因此将被拒绝。希望一些单声道大师对此有一些见解

以下是完整的日志,包括安装和首次启动:

    Sep 30 23:58:23 Christer-sin-iPhone librariand[5904] <Error>: client process 619 does not have a valid com.apple.developer.ubiquity-container-identifiers entitlement
    Sep 30 23:58:24 Christer-sin-iPhone ubd[5905] <Notice>:
    Sep 30 23:58:27 Christer-sin-iPhone librariand[5904] <Notice>: MMe quota status changed: under quota
    Sep 30 23:58:28 Christer-sin-iPhone installd[5365] <Error>: 0x2ffa2000 handle_uninstall: Uninstall requested by SpringBoard
    Sep 30 23:58:28 Christer-sin-iPhone installd[5365] <Error>: 0x2ffa2000 MobileInstallationUninstall_Server: Uninstalling com.myapp
    Sep 30 23:58:29 Christer-sin-iPhone ubd[5905] <Error>: Sep 30 23:58:29  SecTrustEvaluate  [leaf AnchorTrusted]
    Sep 30 23:58:30 Christer-sin-iPhone installd[5365] <Error>: 0x30b000 filter_attributes: Info.plist keys requested via MobileInstallationLookup/Browse in client Xcode (via mobile_installation_proxy) were not found in MobileInstallation's cache. Please file a bug requesting that these keys be added: <CFBasicHash 0x1e5851c0 [0x3b76a100]>{type = mutable set, count = 18,
    entries =>
    0 : <CFString 0x3b7569f4 [0x3b76a100]>{contents = "CFBundlePackageType"}
    1 : <CFString 0x1e57a800 [0x3b76a100]>{contents = "BuildMachineOSBuild"}
    2 : <CFString 0x3b757a44 [0x3b76a100]>{contents = "CFBundleResourceSpecification"}
    3 : <CFString 0x1e57b060 [0x3b76a100]>{contents = "DTPlatformBuild"}
    4 : <CFString 0x3b754794 [0x3b76a100]>{contents = "DTCompiler"}
    5 : <CFString 0x3b756564 [0x3b76a100]>{contents = "CFBundleSignature"}
    6 : <CFString 0x3b757224 [0x3b76a100]>{contents = "DTSDKName"}
    7 : <CFString 0x1e5782a0 [0x3b76a100]>{contents = "NSBundleResolvedPath"}
    8 : <CFString 0x3b753eb4 [0x3b76a100]>{contents = "UISupportedInterfaceOrientations"}
    10 : <CFString 0x3b75be84 [0x3b76a100]>{contents = "DTXcode"}
    13 : <CFString 0x3b75beb4 [0x3b76a100]>{contents = "CFBundleInfoDictionaryVersion"}
    16 : <CFString 0x3b759304 [0x3b76a100]>{contents = "CFBundleSupportedPlatforms"}
    17 : <CFString 0x1e57b0a0 [0x3b76a100]>{contents = "DTXcodeBuild"}
    18 : <CFString 0x1e5782c0 [0x3b76a100]>{contents = "UIStatusBarTintParameters"}
    19 : <CFString 0x3b757e54 [0x3b76a100]>{contents = "DTPlatformVersion"}
    20 : <CFString 0x3b75abf4 [0x3b76a100]>{contents = "DTPlatformName"}
    21 : <CFString 0x3b75bc84 [0x3b76a100]>{contents = "CFBundleDevelopmentRegion"}
    22 : <CFString 0x1e57b080 [0x3b76a100]>{contents = "DTSDKBuild"}
    }
    Sep 30 23:58:31 Christer-sin-iPhone mobile_installation_proxy[5908] <Error>: 0x3c390b88 MobileInstallationSlowLookupBreak: MobileInstallationBrowse was called without specifying an options dictionary containing kLookupReturnAttributesKey. This usage is inefficient and may cause performance problems. Break on MobileInstallationSlowLookupBreak to debug.
    Sep 30 23:58:31 Christer-sin-iPhone mobile_installation_proxy[5908] <Error>: 0x3c390b88 MobileInstallationSlowLookupBreak: Existing options dictionary: <CFBasicHash 0x1cd81790 [0x3b76a100]>{type = mutable dict, count = 1,
    entries =>
    0 : <CFString 0xa51a0 [0x3b76a100]>{contents = "RequestProxiedFor"} = <CFString 0x1cd818f0 [0x3b76a100]>{contents = "mtouch"}
    }
    Sep 30 23:58:38 Christer-sin-iPhone installd[5365] <Error>: 0x2ffa2000 handle_install: Install of "/var/mobile/Media/PublicStaging/NDC2010.app" requested by mobile_installation_proxy
    Sep 30 23:58:38 Christer-sin-iPhone installd[5365] <Error>: 0x2ffa2000 MobileInstallationInstall_Server: Installing app com.myapp
    Sep 30 23:58:39 Christer-sin-iPhone installd[5365] <Error>: Sep 30 23:58:39  SecTrustEvaluate  [leaf CriticalExtensions IssuerCommonName]
    Sep 30 23:58:41 Christer-sin-iPhone timed[5457] <Notice>: (Note ) CoreTime: Received timezone "Europe/Oslo" from "Location"
    Sep 30 23:58:41 Christer-sin-iPhone timed[5457] <Notice>: (Note ) CoreTime: Current mcc: '242' simulated:'0'.
    Sep 30 23:58:41 Christer-sin-iPhone timed[5457] <Notice>: (Note ) CoreTime: Not setting time zone to Europe/Oslo from Location
    Sep 30 23:58:42 Christer-sin-iPhone installd[5365] <Error>: 0x2ffa2000 MobileInstallationInstall_Server: Staging: 0.43s; Waiting: 0.00s; Installation: 4.41s; LS Sync: 0.12s; Overall: 4.96s
    Sep 30 23:58:42 Christer-sin-iPhone kernel[0] <Debug>: launchd[5911] Builtin profile: syncdefaultsd (sandbox)
    Sep 30 23:58:44 Christer-sin-iPhone installd[5365] <Error>: 0x2ffa2000 filter_attributes: Info.plist keys requested via MobileInstallationLookup/Browse in client Xcode (via mobile_installation_proxy) were not found in MobileInstallation's cache. Please file a bug requesting that these keys be added: <CFBasicHash 0x1e692820 [0x3b76a100]>{type = mutable set, count = 18,
    entries =>
    0 : <CFString 0x3b7569f4 [0x3b76a100]>{contents = "CFBundlePackageType"}
    1 : <CFString 0x1e58c4a0 [0x3b76a100]>{contents = "BuildMachineOSBuild"}
    2 : <CFString 0x3b757a44 [0x3b76a100]>{contents = "CFBundleResourceSpecification"}
    3 : <CFString 0x1e578200 [0x3b76a100]>{contents = "DTPlatformBuild"}
    4 : <CFString 0x3b754794 [0x3b76a100]>{contents = "DTCompiler"}
    5 : <CFString 0x3b756564 [0x3b76a100]>{contents = "CFBundleSignature"}
    6 : <CFString 0x3b757224 [0x3b76a100]>{contents = "DTSDKName"}
    7 : <CFString 0x1e5761a0 [0x3b76a100]>{contents = "NSBundleResolvedPath"}
    8 : <CFString 0x3b753eb4 [0x3b76a100]>{contents = "UISupportedInterfaceOrientations"}
    10 : <CFString 0x3b75be84 [0x3b76a100]>{contents = "DTXcode"}
    13 : <CFString 0x3b75beb4 [0x3b76a100]>{contents = "CFBundleInfoDictionaryVersion"}
    16 : <CFString 0x3b759304 [0x3b76a100]>{contents = "CFBundleSupportedPlatforms"}
    17 : <CFString 0x1e578240 [0x3b76a100]>{contents = "DTXcodeBuild"}
    18 : <CFString 0x1e57a970 [0x3b76a100]>{contents = "UIStatusBarTintParameters"}
    19 : <CFString 0x3b757e54 [0x3b76a100]>{contents = "DTPlatformVersion"}
    20 : <CFString 0x3b75abf4 [0x3b76a100]>{contents = "DTPlatformName"}
    21 : <CFString 0x3b75bc84 [0x3b76a100]>{contents = "CFBundleDevelopmentRegion"}
    22 : <CFString 0x1e578220 [0x3b76a100]>{contents = "DTSDKBuild"}
    }
    Sep 30 23:59:14 Christer-sin-iPhone NDC2010[5915] <Warning>: MonoTouch: Failed to open /private/var/mobile/Applications/38C5A938-BBDF-4BCD-AD25-1220671DDF63/NDC2010.app/MonoTouchDebugConfiguration.txt
    Sep 30 23:59:14 Christer-sin-iPhone kernel[0] <Debug>: launchd[5915] Builtin profile: container (sandbox)
    Sep 30 23:59:14 Christer-sin-iPhone kernel[0] <Debug>: launchd[5915] Container: /private/var/mobile/Applications/38C5A938-BBDF-4BCD-AD25-1220671DDF63 (sandbox)
    Sep 30 23:59:15 Christer-sin-iPhone NDC2010[5915] <Warning>: Application windows are expected to have a root view controller at the end of application launch
    Sep 30 23:59:15 Christer-sin-iPhone NDC2010[5915] <Critical>: Terminating runtime due to unhandled exception
    Sep 30 23:59:16 Christer-sin-iPhone ReportCrash[5917] <Notice>: Formulating crash report for process NDC2010[5915]
    Sep 30 23:59:16 Christer-sin-iPhone com.apple.launchd[1] (UIKitApplication:com.myapp[0x9886][5915]) <Warning>: (UIKitApplication:com.myapp[0x9886]) Job appears to have crashed: Abort trap: 6
    Sep 30 23:59:16 Christer-sin-iPhone backboardd[52] <Warning>: Application 'UIKitApplication:com.myapp[0x9886]' exited abnormally with signal 6: Abort trap: 6
    Sep 30 23:59:16 Christer-sin-iPhone ReportCrash[5917] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
Sep 30 23:58:23 Christer sin iPhone库[5904]:客户端进程619没有有效的com.apple.developer.ubiquity-container-identifiers权限
9月30日23:58:24 Christer sin iPhone ubd[5905]:
9月30日23:58:27 Christer sin iPhone图书管理员[5904]:MMe配额状态已更改:配额下
9月30日23:58:28 Christer sin iPhone已安装[5365]:0x2ffa2000 handle_卸载:SpringBoard请求卸载
9月30日23:58:28 Christer sin iPhone已安装[5365]:0x2ffa2000手机安装卸载\u服务器:卸载com.myapp
9月30日23:58:29 Christer sin iPhone ubd[5905]:9月30日23:58:29部门评估[固定叶片]
9月30日23:58:30 Christer sin iPhone installd[5365]:0x30b000 filter_attributes:Info.plist通过客户端Xcode中的MobileInstallationLookup/Browse(通过mobile_installation_proxy)请求的密钥未在MobileInstallation的缓存中找到。请提交一个错误,请求添加这些键:{type=mutable set,count=18,
条目=>
0:{contents=“CbundlePackageType”}
1:{contents=“BuildMachineOSBuild”}
2:{contents=“CFBundleResourceSpecification”}
3:{contents=“DTPlatformBuild”}
4:{contents=“DTCompiler”}
5:{contents=“CbundleSignature”}
6:{contents=“DTSDKName”}
7:{contents=“NSBundleResolvedPath”}
8:{contents=“UISupportedInterfaceOrientions”}
10:{contents=“DTXcode”}
13:{contents=“CbundleInfo字典版本”}
16:{contents=“CbundleSupportedPlatform”}
17:{contents=“DTXcodeBuild”}
18:{contents=“UIStatusBartinParameters”}
19:{contents=“DTPlatformVersion”}
20:{contents=“DTPlatformName”}
21:{contents=“CFBundleDevelopmentRegion”}
22:{contents=“DTSDKBuild”}
}
9月30日23:58:31 Christer sin iPhone mobile_installation_proxy[5908]:0x3c390b88 MobileInstallationsSlowlookupBreak:调用MobileInstallationBrowse时未指定包含kLookupReturnAttributesKey的选项字典。这种使用效率低下,可能会导致性能问题。手机安装中断Slowlookupbreak进行调试。
9月30日23:58:31 Christer sin iPhone手机安装代理[5908]:0x3c390b88手机安装Slowlookupbreak:现有选项字典:{type=mutable dict,count=1,
条目=>
0:{contents=“RequestProxiedFor”}={contents=“mtouch”}
}
9月30日23:58:38 Christer sin iPhone installd[5365]:0x2ffa2000 handle\u install:mobile\u proxy请求安装“/var/mobile/Media/publictaging/NDC2010.app”
9月30日23:58:38 Christer sin iPhone已安装[5365]:0x2ffa2000 MobileInstallationInstallation\u服务器:安装app com.myapp
9月30日23:58:39 Christer sin iPhone已安装[5365]:9月30日23:58:39 SectursEvaluate[叶临界扩展发行人CommonName]
9月30日23:58:41 Christer sin iPhone计时[5457]:(注)CoreTime:从“位置”接收时区“欧洲/奥斯陆”
9月30日23:58:41 Christer sin iPhone timed[5457]:(注)CoreTime:当前mcc:'242'模拟:'0'。
9月30日23:58:41 Christer sin iPhone timed[5457]:(注)CoreTime:未从位置设置欧洲/奥斯陆时区
9月30日23:58:42 Christer sin iPhone安装[5365]:0x2ffa2000 MobileInstallationInstallation\u服务器:暂存:0.43s;等待时间:0.00s;安装:4.41s;LS同步:0.12s;总数:4.96秒
9月30日23:58:42 Christer sin iPhone内核[0]:启动[5911]内置配置文件:syncdefaultsd(沙盒)
9月30日23:58:44 Christer sin iPhone installd[5365]:在MobileInstallation的缓存中找不到通过客户端Xcode中的MobileInstallationLookup/Browse(通过移动安装代理)请求的信息.plist密钥。请提交一个错误,请求添加这些键:{type=mutable set,count=18,
条目=>
0:{contents=“CbundlePackageType”}
1:{contents=“BuildMachineOSBuild”}
2:{contents=“CFBundleResourceSpecification”}
3:{contents=“DTPlatformBuild”}
4:{contents=“DTCompiler”}
5:{contents=“CbundleSignature”}
6:{contents=“DTSDKName”}
7:{contents=“NSBundleResolvedPath”}
8:{contents=“UISupportedInterfaceOrientions”}
10:{contents=“DTXcode”}
13:{contents=“CbundleInfo字典版本”}
16:{contents=“CbundleSupportedPlatform”}
17:{contents=“DTXcodeBuild”}
18:{contents=“UIStatusBartinParameters”}
19
var ad = new GADBannerView(GADAdSizeCons.Banner, new PointF(0,0))
{
    AdUnitID = "Your Id",
    RootViewController = this
};
GADAdSize gsize = new GADAdSize()
{
    flags = 0,
    size = new System.Drawing.SizeF(320, 50)
};

var ad = new GADBannerView(gsize, new PointF(0,0))
{
    AdUnitID = "Your Id",
    RootViewController = this
};