The following build commands failed:
CompileC build/X5.build/Debug-iphoneos/X5.build/Objects-normal/armv7/AuthHelper.o X5/Plugins/cn.com.tansun.VPNPlugin/AuthHelper.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: /Users/windfate/Downloads/WeX5_V3.2.1-mac/model/Native/Loan-App/build/src/platforms/ios/cordova/build: Command failed with exit code 65
at ChildProcess.whenDone (/Users/windfate/Downloads/WeX5_V3.2.1-mac/tools/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildIOS" 执行失败。
****ERROR****: 执行出错:
****ERROR**** 错误信息: exec returned: 1
****ERROR**** 调用栈:
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at Pack.execTask(Pack.java:51)
at Pack.access$000(Pack.java:25)
at Pack$1.run(Pack.java:95)
at java.lang.Thread.run(Thread.java:745)
/Users/windfate/Downloads/WeX5_V3.2.1-mac/model/Native/Loan-App/build/src/platforms/ios/X5/Plugins/cn.com.tansun.VPNPlugin/AuthHelper.m:50:15: error: 'release' is unavailable: not available in automatic reference counting mode
[data release];
^
In file included from /Users/windfate/Downloads/WeX5_V3.2.1-mac/model/Native/Loan-App/build/src/platforms/ios/X5/Plugins/cn.com.tansun.VPNPlugin/AuthHelper.m:1:
In file included from /Users/windfate/Downloads/WeX5_V3.2.1-mac/model/Native/Loan-App/build/src/platforms/ios/X5/X5-Prefix.pch:24:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/usr/include/dispatch/dispatch.h:48:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/usr/include/os/object.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/usr/include/objc/NSObject.h:37:1: note: 'release' has been explicitly marked unavailable here
- (oneway void)release OBJC_ARC_UNAVAILABLE;
^
/Users/windfate/Downloads/WeX5_V3.2.1-mac/model/Native/Loan-App/build/src/platforms/ios/X5/Plugins/cn.com.tansun.VPNPlugin/AuthHelper.m:50:15: error: ARC forbids explicit message send of 'release'
[data release];
~~~~ ^
/Users/windfate/Downloads/WeX5_V3.2.1-mac/model/Native/Loan-App/build/src/platforms/ios/X5/Plugins/cn.com.tansun.VPNPlugin/AuthHelper.m:159:75: error: ARC forbids explicit message send of 'autorelease'
NSData* data = [[[NSData alloc] initWithBytesutValue lengthutLen] autorelease];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/windfate/Downloads/WeX5_V3.2.1-mac/model/Native/Loan-App/build/src/platforms/ios/X5/Plugins/cn.com.tansun.VPNPlugin/AuthHelper.m:159:75: error: 'autorelease' is unavailable: not available in automatic reference counting mode
In file included from /Users/windfate/Downloads/WeX5_V3.2.1-mac/model/Native/Loan-App/build/src/platforms/ios/X5/Plugins/cn.com.tansun.VPNPlugin/AuthHelper.m:1:
In file included from /Users/windfate/Downloads/WeX5_V3.2.1-mac/model/Native/Loan-App/build/src/platforms/ios/X5/X5-Prefix.pch:24:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/usr/include/dispatch/dispatch.h:48:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/usr/include/os/object.h:75:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/usr/include/objc/NSObject.h:38:1: note: 'autorelease' has been explicitly marked unavailable here
- (instancetype)autorelease OBJC_ARC_UNAVAILABLE;
^
4 errors generated.