Skip to main content
一王44952659
Participant
January 31, 2015
Answered

Can't debug/run on iOS 7.03,iPhone 5s

  • January 31, 2015
  • 2 replies
  • 513 views

I build a ipa with ane, it can be debug/run on iOS7.12-iPhone 4,iOS8.13-iPad 2,iTouch 5

but,it can't be debug/run on iOS 7.03,iPhone 5s

This topic has been closed for replies.
Correct answer Jitender thakur

Hi,

Thanks for reporting this issue. Requesting you to please provide a sample project containing action script code, so that we can reproduce this issue at our end.

regards,

Adobe AIR Team

2 replies

Jitender thakurCorrect answer
Adobe Employee
February 9, 2015

Hi,

Thanks for reporting this issue. Requesting you to please provide a sample project containing action script code, so that we can reproduce this issue at our end.

regards,

Adobe AIR Team

一王44952659
Participant
February 14, 2015

Thank for you reply my question, I find this is a bug that already in the bug list,and it has fix in AIR 17.It will happened only iOS  7 + 64bit cpu.

一王44952659
Participant
January 31, 2015

when you debug your ipa, run the application, and it will show the adobe alert

but it did not show on iOS 7.03,iPhone 5s,just crashed

my objective code:

#import "FlashRuntimeExtensions.h"

FREObject tryCall(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[])

{

    FREObject retStr;

    FRENewObjectFromUTF8(1, (const uint8_t*)"", &retStr);

    return retStr;

}

void ANEContextInit(void* extData, const uint8_t* ctxType, FREContext ctx, uint32_t* numFunctionsToTest, const FRENamedFunction** functionsToSet)

{

    *numFunctionsToTest = 1;

    FRENamedFunction* func = (FRENamedFunction*) malloc(sizeof(FRENamedFunction) * *numFunctionsToTest);

    func[0].name = (const uint8_t*) "tryCall";

    func[0].functionData = NULL;

    func[0].function = &tryCall;

    *functionsToSet = func;

}

void ANEInit(void** extDataToSet, FREContextInitializer * ctxInitializerToSet, FREContextFinalizer * ctxFinalizerToSet)

{

    *extDataToSet = NULL;

    *ctxInitializerToSet = &ANEContextInit;

}

i think it just a empty and,what should i do?how can i fix this? thank you

一王44952659
Participant
January 31, 2015

by the way,I use AIR 16.0.0.283, Xcode 6.1.1