-
Notifications
You must be signed in to change notification settings - Fork 6
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
Can't play music #9
Comments
Are you using Cocoapods? Project can only run through Debug Mode. |
Installation with cocoapods, Can't you pack AppStore? |
Under Xcode10.2, workaround is using carthage to build a debug framework to integrate. Or post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
swiftPods = ['APlay']
if swiftPods.include?(target.name)
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Onone'
end
end
end
end |
When you add this code, the following error is reported: An error occurred while processing the pre-install hook of the Podfile. |
Sorry, mybad, change |
Music cannot be played after the project is packaged, so it can be played through direct debugging with the mobile phone
The text was updated successfully, but these errors were encountered: