每当我运行此函数时,我都会收到断言错误,我该怎么办
[MBProgressHUD showHUDAddedTo:self.view animated:YES];
AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
NSString *link = [NSString stringWithFormat:@"%@device_model_no=%@&device_serial_no=%@&device_imei=%@¬e=%@&disclaimer=%@&extra_note=%@&package_plan=%@&price=%@&duration=%@&device=%@&user_reg_id=%@&device_category=%@",KURL,txtModelNumber.text,txtSerialNo.text,txtIMEI.text,txtViewExtra.text,deviceDisclamer,additonalDetail.text,plan,price,duration,deviceName,userID,nil];
NSLog(@"%@",link);
manager.responseSerializer.acceptableContentTypes = [manager.responseSerializer.acceptableContentTypes setByAddingObject:@"text/html"];
[manager GET:link parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) {
NSLog(@"JSON: %@", responseObject);
NSLog(@"%@", responseObject);
NSDictionary *returnedDealDict = responseObject ;
NSArray *returnArray = [returnedDealDict objectForKey:@"result"];
for(NSDictionary *dealDict in returnArray)
{
if ([dealDict objectForKey:@"success"])
{
ALERT_VIEW(@"Thanks1! Your information has been saved Successfully! We will contact you soon.")
}
else
{
ALERT_VIEW(@"Your information doesn t exist in our database, Please go back and enter your …Run Code Online (Sandbox Code Playgroud) 我试图在iPhone 6上运行应用程序,但我得到下面提到的这个错误,我已将xcode 5转换为6.0.1版本,我尝试了所有解决方案但没有成功.我的应用程序在iPhone 5和iPhone 4s上成功运行,但它总是在iPhone 6上给我错误.这是iOS 8问题吗?我是新来的iOS 8.请帮帮我怎么解决?为什么我收到此错误?
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386)
Run Code Online (Sandbox Code Playgroud)
谢谢
我用最新的admob库版本6.12.0替换了旧版本的admob 6.6.1,但我得到了这个错误,虽然每件事都很好.我正在使用xcode 6.0.1,如何解决这个问题,有什么帮助吗?
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_EKEvent", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADOpener.o)
"_OBJC_CLASS_$_EKEventEditViewController", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADOpener.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)