Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save emskaplann/dd60f173ae6cbd6f099e2cd8091faabf to your computer and use it in GitHub Desktop.
Save emskaplann/dd60f173ae6cbd6f099e2cd8091faabf to your computer and use it in GitHub Desktop.
Huma iOS Build Error v2
** BUILD FAILED **
Xcode's output:
warning: Stale file '/Users/emskaplann/HumaBreath/huma/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/protobuf.framework' is located outside of the allowed root paths.
In file included from /Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:2:
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '@param' command [-Wdocumentation]
@param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '@param' command [-Wdocumentation]
@param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation]
@param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
@param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '@param' command [-Wdocumentation]
@param queueEnabled
~~~~~~~~~~~~~~~~~~^
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:19:23: warning: unused variable 'viewController' [-Wunused-variable]
UIViewController *viewController =
^
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:70:21: warning: unused variable 'topPadding' [-Wunused-variable]
CGFloat topPadding = window.safeAreaInsets.top;
^
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:71:21: warning: unused variable 'bottomPadding' [-Wunused-variable]
CGFloat bottomPadding = window.safeAreaInsets.bottom;
^
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-4.0.1/ios/Classes/FluttertoastPlugin.m:48:19: warning: unused variable 'size' [-Wunused-variable]
NSNumber *size = call.arguments[@"size"];
^
8 warnings generated.
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:88:37: warning: incompatible pointer types sending 'FlutterEngine *' to parameter of type 'NSObject<FlutterBinaryMessenger> * _Nonnull' [-Wincompatible-pointer-types]
binaryMessenger:_headlessEngine];
^~~~~~~~~~~~~~~
In module 'Flutter' imported from /Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.h:2:
/Users/emskaplann/HumaBreath/huma/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:178:74: note: passing argument to parameter 'messenger' here
binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger;
^
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:381:20: warning: 'timeControlStatus' is only available on iOS 10.0 or newer [-Wunguarded-availability]
if (player.timeControlStatus == AVPlayerTimeControlStatusPlaying) {
^~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:3:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:193:59: note: 'timeControlStatus' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@property (nonatomic, readonly) AVPlayerTimeControlStatus timeControlStatus API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
^
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:381:20: note: enclose 'timeControlStatus' in an @available check to silence this warning
if (player.timeControlStatus == AVPlayerTimeControlStatusPlaying) {
^~~~~~~~~~~~~~~~~
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:381:41: warning: 'AVPlayerTimeControlStatusPlaying' is only available on iOS 10.0 or newer [-Wunguarded-availability]
if (player.timeControlStatus == AVPlayerTimeControlStatusPlaying) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:3:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:179:28: note: 'AVPlayerTimeControlStatus' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
typedef NS_ENUM(NSInteger, AVPlayerTimeControlStatus) {
^
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:381:41: note: enclose 'AVPlayerTimeControlStatusPlaying' in an @available check to silence this warning
if (player.timeControlStatus == AVPlayerTimeControlStatusPlaying) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:386:27: warning: 'timeControlStatus' is only available on iOS 10.0 or newer [-Wunguarded-availability]
} else if (player.timeControlStatus == AVPlayerTimeControlStatusPaused) {
^~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:3:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:193:59: note: 'timeControlStatus' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
@property (nonatomic, readonly) AVPlayerTimeControlStatus timeControlStatus API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0));
^
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:386:27: note: enclose 'timeControlStatus' in an @available check to silence this warning
} else if (player.timeControlStatus == AVPlayerTimeControlStatusPaused) {
^~~~~~~~~~~~~~~~~
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:386:48: warning: 'AVPlayerTimeControlStatusPaused' is only available on iOS 10.0 or newer [-Wunguarded-availability]
} else if (player.timeControlStatus == AVPlayerTimeControlStatusPaused) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'AVFoundation' imported from /Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:3:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h:179:28: note: 'AVPlayerTimeControlStatus' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
typedef NS_ENUM(NSInteger, AVPlayerTimeControlStatus) {
^
/Users/emskaplann/flutter-main-folder/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.14.2/darwin/Classes/AudioplayersPlugin.m:386:48: note: enclose 'AVPlayerTimeControlStatusPaused' in an @available check to silence this warning
} else if (player.timeControlStatus == AVPlayerTimeControlStatusPaused) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
error: Build input file cannot be found: '/Users/emskaplann/HumaBreath/Downloads/GoogleService-Info.plist' (in target 'Runner' from project 'Runner')
note: Using new build system
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.
Exited (sigterm)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment