ios - enterprise provision vs ad hoc provision -


here situation: enterprise provision profile doesn't seem work on particular app. actually, seems work because starts quit after launch screen. have verify app work if use ad-hoc provision profile. have verify same enterprise provision profile works different apps well.

i don't know info should put here :-( wondering maybe need include entitlement files enterprise provision not needed ad-hoc?

=== tks matt's suggestion. following error:

dyld error message: library not loaded: @rpath/libswiftcore.dylib
referenced from: /private/var/mobile/containers/bundle/application/90ef4c24-3bdb-4c14-9fe3-5b29ebf53b6b/mapview.app/mapview reason: no suitable image found. did find: /private/var/mobile/containers/bundle/application/90ef4c24-3bdb-4c14-9fe3-5b29ebf53b6b/mapview.app/frameworks/libswiftcore.dylib: mmap() error 1 @ address=0x100118000, size=0x0018c000 segment=__text in segment::map() mapping /private/var/mobile/containers/bundle/application/90ef4c24-3bdb-4c14-9fe3-5b29ebf53b6b/mapview.app/frameworks/libswiftcore.dylib dyld version: 353.6

binary images: 0x120014000 - 0x12003bfff dyld arm64 <36eff49275c23d2d815e48af33eea471> /usr/lib/dyld 0x18662c000 - 0x186988fff corefoundation arm64 <83a9627362333366a8543e8c2d28166e> /system/library/frameworks/corefoundation.framework/corefoundation 0x18698c000 - 0x186aeefff coregraphics arm64 <783a6b9356ed3b41beba516b483affb1> /system/library/frameworks/coregraphics.framework/coregraphics 0x186e98000 - 0x186ef5fff corelocation arm64 /system/library/frameworks/corelocation.framework/corelocation 0x187530000 - 0x187784fff foundation arm64 /system/library/frameworks/foundation.framework/foundation 0x1887a4000 - 0x1888b8fff mapkit arm64 <6d62056699ed3d94ba264fa1f388d82d> /system/library/frameworks/mapkit.framework/mapkit 0x18a84c000 - 0x18a9d0fff quartzcore arm64 <313aba56d17e30d1b68b2fdfda1820f8> /system/library/frameworks/quartzcore.framework/quartzcore 0x18aa34000 - 0x18ac61fff scenekit arm64 <39072d4c227e355ba92c4d3d4197d5e3> /system/library/frameworks/scenekit.framework/scenekit 0x18ad44000 - 0x18ae5ffff spritekit arm64 <05829ef1150035bd9175db7876ede297> /system/library/frameworks/spritekit.framework/spritekit 0x18aef4000 - 0x18b868fff uikit arm64 <31ac3f3fa5153620907fbfbfd1d671b0> /system/library/frameworks/uikit.framework/uikit 0x19638c000 - 0x19638dfff libsystem.b.dylib arm64 /usr/lib/libsystem.b.dylib 0x196e9c000 - 0x197098fff libobjc.a.dylib arm64 /usr/lib/libobjc.a.dylib

another try-and-error attempt: building helloworld-objc app same enterprise provision profile, , works! in conjunction prev helloworld-swift app doesn't work, plus device error log above, suspect has swift+enterprise combination. wondering if own ide problem, or apple bug? if have done swift+enterprise combo, please share experience?

if building app not use swift embeds content such framework does, xcode not include these libraries in app. result, app crash upon launching. workaround issue, set embedded content contains swift code (embedded_content_contains_swift) build setting yes in app. more please visit link.

https://developer.apple.com/library/mac/qa/qa1881/_index.html


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -