Open k1005 opened 2 years ago
Hey, thanks for opening an issue! I tried to reproduce this by cloning a new copy of the library and running flutter build ios
in the example directory, but I didn't have any issues. I'll try to help you debug.
It sounds like the Xcode build can't find the sfizz headers. Sfizz is a SFZ player library. It should get downloaded by git in the prepare.sh script. Then, the flutter_sequencer.podspec should add the ios/third_party/sfizz/src directory to the pod target's HEADER_SEARCH_PATHS. Some part of that must not be working if it can't find sfizz.hpp.
First off, can you build the example? If you're trying to build your own app, make sure your Podfile matches the example's Podfile.
Then, either way, can you check if there's an sfizz directory under ios/third_party?
Can you also add some echo test...
statements to the prepare.sh script to make sure it's getting to the end? Then run sudo gem install cocoapods-clean
, and in your project's ios directory, run pod clean
and pod install --verbose
.
Thanks for your answer. But I can't try right now. Cause this is my home project and I'am at working in company office.
I will try as your recommended when I am home. And then I will write comment on this page.
I have checked. But I cannot found ios/third_party directory. Do I have to something?
I found something.
I changed pod target's HEADER_SEARCH_PATHS on flutter_sequencer.podspec Then build is working.
as-is: "${PROJECT_DIR}/../../.."/ios/third_party/sfizz/src
to-be: /usr/local/Caskroom/flutter/2.5.0/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sequencer-0.4.2/ios/third_party/sfizz/src
My environment is below
I want to fix this problem. Plz Tell me how can I fix my application. HELP ME PLZ.