打开下载的项目时发生颤振Xcode生成错误
我试图打开我从一些链接下载的颤振项目。我需要为我的客户在他们的项目上进行一些配置,但每次我试图打开一个项目时,Xcode构建都会失败,并显示很长的错误消息。我在网上尝试了所有的解决方案,但仍然无法编译此类项目。非常感谢你的帮助。我花了很长时间,但没能达到我想要的打开下载的项目时发生颤振Xcode生成错误,xcode,flutter,dart,flutter-dependencies,flutter-ios,Xcode,Flutter,Dart,Flutter Dependencies,Flutter Ios,我试图打开我从一些链接下载的颤振项目。我需要为我的客户在他们的项目上进行一些配置,但每次我试图打开一个项目时,Xcode构建都会失败,并显示很长的错误消息。我在网上尝试了所有的解决方案,但仍然无法编译此类项目。非常感谢你的帮助。我花了很长时间,但没能达到我想要的 objc[3966]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1eb708188) and ?? (0x1139782b8).
objc[3966]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1eb708188) and ?? (0x1139782b8). One of the two will be used. Which one is undefined.
objc[3966]: Class AMSupportURLSession is implemented in both ?? (0x1eb7081d8) and ?? (0x113978308). One of the two will be used. Which one is undefined.
** BUILD FAILED **
Xcode's output:
↳
/Users/alperenbaskaya/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/in_app_review-2.0.2/ios/Classes/InAppReviewPlugin.m:99:14: warning: 'openURL:' is deprecated: first deprecated in iOS
10.0 [-Wdeprecated-declarations]
[app openURL:url];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/Target Support Files/in_app_review/in_app_review-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:123:1:
note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0)) NS_EXTENSION_UNAVAILABLE_IOS("");
^
1 warning generated.
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:111:11: warning: logical not is only applied to the left hand side of this
comparison [-Wlogical-not-parentheses]
else if (![upgradeHeaderValue caseInsensitiveCompare:@"WebSocket"] == NSOrderedSame) {
^ ~~
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:111:11: note: add parentheses after the '!' to evaluate the comparison first
else if (![upgradeHeaderValue caseInsensitiveCompare:@"WebSocket"] == NSOrderedSame) {
^
( )
PAsyncFileResponse.m:216:57: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
HTTPLogError(@"%@: Read EOF on file(%@)", THIS_FILE, filePath);
^
self->
In file included from /Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:3:
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPLogging.h:34:72: note: expanded from macro 'HTTPLogError'
#define HTTPLogError(frmt, ...) KTVCHSLog(HTTP_LOG_ERROR, frmt, ##__VA_ARGS__)
^
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPLogging.h:11:75: note: expanded from macro 'KTVCHSLog'
#define KTVCHSLog(level, frmt, ...) [HTTPLogging log:level format:frmt, ##__VA_ARGS__]
^
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:225:4: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
readOffset += result;
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:226:4: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
readBufferOffset += result;
^
self->
20 warnings generated.
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:111:11: warning: logical not is only applied to the left hand side of this
comparison [-Wlogical-not-parentheses]
else if (![upgradeHeaderValue caseInsensitiveCompare:@"WebSocket"] == NSOrderedSame) {
^ ~~
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:111:11: note: add parentheses after the '!' to evaluate the comparison first
else if (![upgradeHeaderValue caseInsensitiveCompare:@"WebSocket"] == NSOrderedSame) {
^
( )
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:111:11: note: add parentheses around left hand side expression to silence
this warning
else if (![upgradeHeaderValue caseInsensitiveCompare:@"WebSocket"] == NSOrderedSame) {
^
( )
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:181:28: warning: sending 'WebSocket *__strong' to parameter of incompatible
type 'id<GCDAsyncSocketDelegate> _Nullable'
[asyncSocket setDelegate:self delegateQueue:websocketQueue];
^~~~
In module 'CocoaAsyncSocket' imported from /Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:3:
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:112:58: note: passing argument to parameter 'delegate' here
- (void)setDelegate:(nullable id<GCDAsyncSocketDelegate>)delegate delegateQueue:(nullable dispatch_queue_t)delegateQueue;
^
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:171:30: warning: code will never be executed [-Wunreachable-code]
NSData *requestHeaders = [aRequest messageData];
^~~~~~~~
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:218:3: warning: block implicitly retains 'self'; explicitly mention 'self'
to indicate this is intended behavior [-Wimplicit-retain-self]
delegate = newDelegate;
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:237:7: warning: block implicitly retains 'self'; explicitly mention 'self'
to indicate this is intended behavior [-Wimplicit-retain-self]
if (isStarted) return;
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:238:3: warning: block implicitly retains 'self'; explicitly mention 'self'
to indicate this is intended behavior [-Wimplicit-retain-self]
isStarted = YES;
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:240:7: warning: block implicitly retains 'self'; explicitly mention 'self'
to indicate this is intended behavior [-Wimplicit-retain-self]
if (isVersion76)
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:263:4: warning: block implicitly retains 'self'; explicitly mention 'self'
to indicate this is intended behavior [-Wimplicit-retain-self]
[asyncSocket disconnect];
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:414:21: warning: code will never be executed [-Wunreachable-code]
NSString *temp = [[NSString alloc] initWithData:responseHeaders encoding:NSUTF8StringEncoding];
^~~~~~~~~~~~~~~~
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:496:19: warning: code will never be executed [-Wunreachable-code]
NSString *s1 = [[NSString alloc] initWithData:d1 encoding:NSASCIIStringEncoding];
^~~~~~~~~~~~~~~~
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/WebSocket.m:39:20: warning: unused function 'WS_OP_IS_FINAL_FRAGMENT'
[-Wunused-function]
static inline BOOL WS_OP_IS_FINAL_FRAGMENT(UInt8 frame)
^
11 warnings generated.
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Mime/MultipartFormDataParser.m:420:73: warning: conflicting parameter types in
implementation of 'numberOfBytesToLeavePendingWithData:length:encoding:': 'NSUInteger' (aka 'unsigned int') vs 'int' [-Wmismatched-parameter-types]
- (int) numberOfBytesToLeavePendingWithData:(NSData*) data length:(int) length encoding:(int) encoding {
~~~ ^
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Mime/MultipartFormDataParser.m:32:80: note: previous definition is here
- (int) numberOfBytesToLeavePendingWithData:(NSData*) data length:(NSUInteger) length encoding:(int) encoding;
~~~~~~~~~~ ^
1 warning generated.
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPServer.m:54:58: warning: sending 'HTTPServer *__strong' to parameter of incompatible
type 'id<GCDAsyncSocketDelegate> _Nullable'
asyncSocket = [[GCDAsyncSocket alloc] initWithDelegate:self delegateQueue:serverQueue];
^~~~
In module 'CocoaAsyncSocket' imported from /Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPServer.m:2:
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:90:71: note: passing argument to parameter 'aDelegate' here
- (instancetype)initWithDelegate:(nullable id<GCDAsyncSocketDelegate>)aDelegate delegateQueue:(nullable dispatch_queue_t)dq;
^
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPServer.m:162:3: warning: block implicitly retains 'self'; explicitly mention 'self'
to indicate this is intended behavior [-Wimplicit-retain-self]
documentRoot = valueCopy;
^
self->
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPServer.m:387:8: warning: block implicitly retains 'self'; explicitly mention 'self'
to indicate this is intended behavior [-Wimplicit-retain-self]
if (txtRecordDictionary)
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPServer.m:388:63: warning: block implicitly retains 'self'; explicitly mention 'self'
to indicate this is intended behavior [-Wimplicit-retain-self]
txtRecordData = [NSNetService dataFromTXTRecordDictionary:txtRecordDictionary];
^
self->
14 warnings generated.
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPConnection.m:196:28: warning: sending 'HTTPConnection *__strong' to parameter of
incompatible type 'id<GCDAsyncSocketDelegate> _Nullable'
[asyncSocket setDelegate:self delegateQueue:connectionQueue];
^~~~
In module 'CocoaAsyncSocket' imported from /Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPConnection.m:1:
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.h:112:58: note: passing argument to parameter 'delegate' here
- (void)setDelegate:(nullable id<GCDAsyncSocketDelegate>)delegate delegateQueue:(nullable dispatch_queue_t)delegateQueue;
^
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPConnection.m:571:8: warning: block implicitly retains 'self'; explicitly mention
'self' to indicate this is intended behavior [-Wimplicit-retain-self]
if (!started)
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPConnection.m:573:4: warning: block implicitly retains 'self'; explicitly mention
'self' to indicate this is intended behavior [-Wimplicit-retain-self]
started = YES;
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPConnection.m:589:4: warning: block implicitly retains 'self'; explicitly mention
'self' to indicate this is intended behavior [-Wimplicit-retain-self]
[asyncSocket disconnect];
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPConnection.m:898:23: warning: code will never be executed [-Wunreachable-code]
NSData *tempData = [request messageData];
^~~~~~~
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPConnection.m:2507:17: warning: block implicitly retains 'self'; explicitly mention
'self' to indicate this is intended behavior [-Wimplicit-retain-self]
if (sender != httpResponse)
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPConnection.m:2513:8: warning: block implicitly retains 'self'; explicitly mention
'self' to indicate this is intended behavior [-Wimplicit-retain-self]
if (!sentResponseHeaders)
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPConnection.m:2519:8: warning: block implicitly retains 'self'; explicitly mention
'self' to indicate this is intended behavior [-Wimplicit-retain-self]
if (ranges == nil)
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPConnection.m:2525:10: warning: block implicitly retains 'self'; explicitly mention
'self' to indicate this is intended behavior [-Wimplicit-retain-self]
if ([ranges count] == 1)
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPConnection.m:2550:17: warning: block implicitly retains 'self'; explicitly mention
'self' to indicate this is intended behavior [-Wimplicit-retain-self]
if (sender != httpResponse)
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPConnection.m:2556:4: warning: block implicitly retains 'self'; explicitly mention
'self' to indicate this is intended behavior [-Wimplicit-retain-self]
[asyncSocket disconnectAfterWriting];
^
self->
11 warnings generated.
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:158:56: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
HTTPLogTrace2(@"%@: eventBlock - fd[%i]", THIS_FILE, fileFD);
^
self->
In file included from /Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:3:
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPLogging.h:39:72: note: expanded from macro 'HTTPLogTrace2'
#define HTTPLogTrace2(frmt, ...) KTVCHSLog(HTTP_LOG_TRACE, frmt, ##__VA_ARGS__)
^
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPLogging.h:11:75: note: expanded from macro 'KTVCHSLog'
#define KTVCHSLog(level, frmt, ...) [HTTPLogging log:level format:frmt, ##__VA_ARGS__]
^
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:165:69: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
unsigned long long _bytesAvailableOnFD = dispatch_source_get_data(readSource);
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:167:29: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
UInt64 _bytesLeftInFile = fileLength - readOffset;
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:167:42: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
UInt64 _bytesLeftInFile = fileLength - readOffset;
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:175:35: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
NSUInteger bytesLeftInRequest = readRequestLength - readBufferOffset;
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:175:55: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
NSUInteger bytesLeftInRequest = readRequestLength - readBufferOffset;
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:184:7: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
if (readBuffer == NULL || bytesToRead > (readBufferSize - readBufferOffset))
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:184:44: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
if (readBuffer == NULL || bytesToRead > (readBufferSize - readBufferOffset))
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:184:61: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
if (readBuffer == NULL || bytesToRead > (readBufferSize - readBufferOffset))
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:186:4: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
readBufferSize = bytesToRead;
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:189:8: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
if (readBuffer == NULL)
^
self->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:204:25: warning: block implicitly retains 'self';
explicitly mention 'self' to indicate this is intended behavior [-Wimplicit-retain-self]
ssize_t result = read(fileFD, readBuffer + readBufferOffset, (size_t)bytesToRead);
rojects/desio/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported
deployment target versions is 9.0 to 14.5.99. (in target 'Flutter' from project 'Pods')
Could not build the application for the simulator.
objc[3966]:AMSupportUrlConnectionLegate类在这两个版本中都实现了??(0x1eb708188)和??(0x1139782b8)。将使用其中一个。哪一个是未定义的。
objc[3966]:AMSupportURLSession类在这两种语言中都实现了??(0x1eb7081d8)和??(0x113978308)。将使用其中一个。哪一个是未定义的。
**构建失败**
Xcode的输出:
↳
/Users/alperenbaskaya/Desktop/flatter/.pub cache/hosted/pub.dartlang.org/in_app_review-2.0.2/ios/Classes/InApprovewPlugin.m:99:14:警告:“openURL:”已弃用:在ios中首次弃用
10.0[-Wdeprecated声明]
[应用程序openURL:url];
^~~~~~~
openURL:选项:completionHandler:
从/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/Target支持文件/In_app_review/In_app_review-prefix导入模块“UIKit”中。pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:123:1:
注意:“openURL:”已在此处明确标记为不推荐
-(BOOL)openURL:(NSURL*)url-API\u不推荐使用\u替换(“openURL:options:completionHandler:”,ios(2.0,10.0))NS\u扩展\u不可用\u ios(“”);
^
生成1个警告。
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/ktvcocahahttpserver/ktvcocahahttpserver/Classes/WebSocket.m:111:11:警告:逻辑not仅应用于此对话框的左侧
比较[-WLLogical not括号]
else if(![upgradeHeaderValue caseInsensitiveCompare:@“WebSocket”]==SensorDeredName){
^ ~~
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/ktvcocahahttpserver/ktvcocahahttpserver/Classes/WebSocket.m:111:11:注意:在“!”后面添加括号,以便首先评估比较
else if(![upgradeHeaderValue caseInsensitiveCompare:@“WebSocket”]==SensorDeredName){
^
( )
PAsyncFileResponse.m:216:57:警告:块隐式保留“self”;
明确提及“自我”,表示这是预期行为[-Wimplicit retain self]
HTTPLogError(@“%@:读取文件(%@)”上的EOF,此文件,文件路径);
^
自我->
文件包括在/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/ktvcococahttpserver/ktvcococahttpserver/Classes/Responses/HTTPAsyncFileResponse.m:3:
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/ktvcocahahttpserver/ktvcocahahttpserver/Classes/HTTPLogging.h:34:72:注意:从宏“HTTPLogError”展开
#定义HTTPLogError(frmt,…)KTVCHSLog(HTTP_LOG_ERROR,frmt,#u VA_参数)
^
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/HTTPLogging.h:11:75:注意:从宏“KTVCHSLog”展开
#定义KTVCHSLog(级别,frmt,…)[HTTPLogging日志:级别格式:frmt,###u VA_uargs_u]
^
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/KTVCocoaHTTPServer/KTVCocoaHTTPServer/Classes/Responses/HTTPAsyncFileResponse.m:225:4:警告:块隐式保留“self”;
明确提及“自我”,表示这是预期行为[-Wimplicit retain self]
readOffset+=结果;
^
自我->
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/ktvcocahahttpserver/ktvcocahahttpserver/Classes/Responses/HTTPAsyncFileResponse.m:226:4:警告:块隐式保留“self”;
明确提及“自我”,表示这是预期行为[-Wimplicit retain self]
readBufferOffset+=结果;
^
自我->
生成20个警告。
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/ktvcocahahttpserver/ktvcocahahttpserver/Classes/WebSocket.m:111:11:警告:逻辑not仅应用于此对话框的左侧
比较[-WLLogical not括号]
else if(![upgradeHeaderValue caseInsensitiveCompare:@“WebSocket”]==SensorDeredName){
^ ~~
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/ktvcocahahttpserver/ktvcocahahttpserver/Classes/WebSocket.m:111:11:注意:在“!”后面添加括号,以便首先评估比较
else if(![upgradeHeaderValue caseInsensitiveCompare:@“WebSocket”]==SensorDeredName){
^
( )
/Users/alperenbaskaya/AndroidStudioProjects/desio/ios/Pods/ktvcocahahttpserver/ktvcocahahttpserver/Classes/WebSocket.m:111:11:注意:在左侧表达式周围添加括号以保持沉默
这一警告
else if(![upgradeHeaderValue caseInsensitiveCompare:@“WebSocket”]==SensorDeredName){
^
(