Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter oc 不能编译 image_gallery_saver: 1.6.9 #180

Closed
yfming93 opened this issue Aug 16, 2021 · 0 comments
Closed

flutter oc 不能编译 image_gallery_saver: 1.6.9 #180

yfming93 opened this issue Aug 16, 2021 · 0 comments

Comments

@yfming93
Copy link

Launching lib/main.dart on iPhone12t in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: PDWYU899KR
Running Xcode build...
Xcode build done. 53.4s
Failed to build iOS app
Error output from Xcode build:

** BUILD FAILED **

Xcode's output:

/Users/mingo/Desktop/fulugit/app/ios/Pods/Reachability/Reachability.m:465:63: warning: cast to smaller integer type 'unsigned int' from 'Reachability ' [-Wpointer-to-int-cast]
NSStringFromClass([self class]), (unsigned int) self, [self currentReachabilityFlags]];
^~~~~~~~~~~~~~~~~~~
1 warning generated.
/Users/mingo/Desktop/fulugit/app/ios/Pods/Adjust/Adjust/ADJUtil.m:1256:20: warning: cast to smaller integer type 'int' from 'id' [-Wpointer-to-int-cast]
return (int)[appTrackingClass performSelector:selAuthorization];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Error: Couldn't resolve the package 'image_gallery_saver' in 'package:image_gallery_saver/image_gallery_saver.dart'.
../app/lib/pages/aa_goods/aa_goods_share_page.dart:10:8: Error: Not found: 'package:image_gallery_saver/image_gallery_saver.dart'
import 'package:image_gallery_saver/image_gallery_saver.dart';
^
../app/lib/pages/aa_goods/aa_goods_share_page.dart:101:26: Error: The getter 'ImageGallerySaver' isn't defined for the class '_AaGoodsSharePageState'.
- '_AaGoodsSharePageState' is from 'package:src/pages/aa_goods/aa_goods_share_page.dart' ('../app/lib/pages/aa_goods/aa_goods_share_page.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'ImageGallerySaver'.
final result = await ImageGallerySaver.saveImage(
^^^^^^^^^^^^^^^^^
Unhandled exception:
FileSystemException(uri=org-dartlang-untranslatable-uri:package%3Aimage_gallery_saver%2Fimage_gallery_saver.dart; message=StandardFileSystem only supports file:
and data:* URIs)
#0 StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:36:7)
#1 asFileUri (package:vm/kernel_front_end.dart:599:37)
#2 writeDepfile (package:vm/kernel_front_end.dart:738:21)

#3 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:562:9)

#4 starter (file:///Users/zhangwei/Documents/work/flutter_workspace/flutter_autotrack_gitlab/flutter_aspectd/lib/src/flutter_frontend_server/server.dart:189:12)

#5 main (file:///Users/zhangwei/Documents/work/flutter_workspace/flutter_autotrack_gitlab/flutter_aspectd/lib/src/flutter_frontend_server/starter.dart:13:24)

Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
/Users/mingo/Desktop/fulugit/app/ios/Pods/Pods.xcodeproj: warning: The iOS 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 'Adjust' from project 'Pods')
/Users/mingo/Desktop/fulugit/app/ios/Pods/Pods.xcodeproj: warning: The iOS 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 'FMDB' from project 'Pods')
/Users/mingo/Desktop/fulugit/app/ios/Pods/Pods.xcodeproj: warning: The iOS 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 'Reachability' from project 'Pods')
/Users/mingo/Desktop/fulugit/app/ios/Pods/Pods.xcodeproj: warning: The iOS 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 'SensorsAnalyticsSDK' from project 'Pods')
/Users/mingo/Desktop/fulugit/app/ios/Pods/Pods.xcodeproj: warning: The iOS 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 'OrderedSet' from project 'Pods')
/Users/mingo/Desktop/fulugit/app/ios/Pods/Pods.xcodeproj: warning: The iOS 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 precompiled application for the device.

Error launching application on iPhone12t.

@xqqlv xqqlv closed this as completed Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants