I am developing a photo editing application and I want to have an extension for the Photo application. Enxtension works great on the simulator and no problem.
But when I try to run it on my iPhone 6, I have 2 problems:
- Problems with Provisioning profiles. I know that for the extension I need a new AppID (named app.myapp.com.extension and the main AppID is app.myapp.com) and new training profiles. I created 2 new channels to create (one for development and one for distribution) with a new AppID, but when I try to run it on the device, the following message appears:
Error: The embedded binary is not signed with the same certificate as the parent application. Checking the built-in binary settings of the character of the code mark corresponds to the parent application. Embedded Binary Signature Certificate: - (Ad Hoc Signature Code) Parent App Signing Certificate: iPhone Developer: Mauro Vime (------------------)
I updated the Provisioning Profiles to verify that for development, not for Ad Hoc, but I still have the same problems.
- So I tried to export ipa from the application and run it. The application works perfectly, but the extension just shows a black look, and not my view containing the photo. Then I checked the phone crash logs and saw the following:
Incident ID: 9E578D78-FAB7-419E-AB35-7BA7B0821AFA CrashReporter Key: ae6bdea47a4e64b09a8fb7fa8599b5e23ceb5311 Equipment Model: iPhone7.2 Process: extension [2598] Way:
/private/var/mobile/Containers/Bundle/Application/----------/------------/PlugIns/extension.appex/extension Identifier: app.myapp. com.extension Version: 1 (1.0) Code Type: ARM-64 (native) Parent process:
launchd [1] Date / Time: 2014-10-14 01: 29: 21.482 +0200 Launch Time: 2014-10-14 01: 29: 16.170 +0200 OS Version: iOS 8.1 (12B407) Report Version: 105 Exception Type: EXC_CRASH (SIGABRT) Subtype of exception: LAUNCH_HANG Exception message: Advanced time took too long to initialize the highlighted topic: 0 Backtrace unavailable Unknown thread associated with ARM Thread state (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x000000000000 x2: 0x00000000 x3: 0x00000000000000000000 x4: 0x00000000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x0000000000000000 x12: 0x0000000000000000 x13: 0x0000000000000000 000000000 x15: 0x0000000000000000 x16: 0x0000000000000000 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x0000000000000000 x21: 0x0000000000000000 x22: 0x0000000000000000 x23: 0x0000000000000000 x24: 0x000000000000 x0000: 000000000000000000000
x28: 0x0000000000000000 fp: 0x0000000000000000 lr: 0x0000000000000000 sp: 0x000000016fdb3b68 pc: 0x00000001200f9000 cpsr: 0x00000000 Binary images: 0x1200f8000 - 0x12011ffff dyld arm64 / USR / Lib / dyld
It says that the application was running on device 8.1, but I also tried it on iOS 8.0.2 and the same problem occurred. After viewing the message: βThe extension took too long to initialize,β I just cleared the viewDidLoad and viewWillAppear functions so that they would not execute any code, but the problem persists.
Does anyone have experienced these problems and had a solution?
ios objective-c iphone photo
maurovime
source share