mikeperri / flutter_sequencer

A Flutter plugin for music sequencing.
Other
90 stars 38 forks source link

Xcode build fail #4

Closed ghost23 closed 3 years ago

ghost23 commented 3 years ago

Hi,

I was trying to build a minimal example and followed the installation instructions of the lib on pub.dev.

I have attached an iPad via USB cable and ran flutter run . After a while I get this:

Running pod install...
Running Xcode build...
Xcode build done.                                           21,2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    ld: in /Users/\<user>/Documents/piano_practice/build/ios/Debug-iphoneos/AudioKit.framework/AudioKit(EZAudio.o), building for iOS, but linking in object file built for iOS Simulator, file '/Users/\<user>/Documents/piano_practice/build/ios/Debug-iphoneos/AudioKit.framework/AudioKit' for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Did I just miss to set some property?

EDIT:

I am using flutter 1.22.4 and XCode 12.2

ghost23 commented 3 years ago

Ahh, I fixed it myself :) I updated Cocoapods from version 1.9.3 to 1.10.0 and now it works. Sorry for the false alarm.