Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (device)
Viewing all articles
Browse latest Browse all 250

Build on ios simulator but fail on ios Device

0
0

Hello, I use Titanium SDK 3.0.1.201212181159, Xcode 4.6 and iOS SDK 6.1. When I run my app on the iOS SImulator it works but when i try on ios device it fail : [ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : CompileC build/HamperVille.build/Release-iphoneos/HamperVille-universal.build/Objects-normal/armv7/ApplicationRouting.o Classes/ApplicationRouting.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler [ERROR] : (1 failure) When I open the project in Xcode and try to run on the device i have an error in the file ApplicationRouting.m

It's not fully generated :

static NSDictionary *map = nil;
    if (map == nil) {
        map = [[NSDictionary alloc] initWithObjectsAndKeys:
        [NSNumber numberWithInteger:0], @"app_js",
        [NSNumber numberWithInteger:1], @"ui/common/AskUsAnythingView_js",
        [NSNumber numberWithInteger:2], @"ui/common/ContactUsView_js",
        [NSNumber numberWithInteger:3], @"ui/common/CovrageAreaView_js",
        [NSNumber numberWithInteger:4], @"ui/common/Dashboad/DashboadView_js",
        [NSNumber numberWithInteger:5], @"ui/common/EmailValidation_js",
        [NSNumber numberWithInteger:6], @"ui/common/LoginView_js",
        [NSNumber numberWithInteger:7], @"ui/common/PriceListView_js",
        [NSNumber numberWithInteger:8], @"ui/common/UserMenu/InfoWindow_js",
        [NSNumber numberWithInteger:9], @"ui/common/UserMenu/RequestPickupOptionsWindow_js",
        [NSNumber numberWithInteger:10], @"ui/common/UserMenu/RequestPickupWindow_js",
        [NSNumber numberWithInteger:11], @"ui/common/UserMenu/UserMenuWindow_js",
        [NSNumber numberWithInteger:12], @"ui/handheld/android/ApplicationWind
    NSNumber *index = [map objectForKey:path];
    if (index == nil) { return nil; }
    return filterDataInRange([NSData dataWithBytesNoCopy:data length:sizeof(data) freeWhenDone:NO], ranges[index.integerValue]);
}
 
@end

You can see the the line is not complete "[NSNumber numberWithInteger:12], @"ui/handheld/android/ApplicationWind"

Its random issue, sometime it works, and sometime it don't work. If someone can help me/ Thanks

Zoeb S


Viewing all articles
Browse latest Browse all 250

Latest Images

Trending Articles





Latest Images