Giter Club home page Giter Club logo

Comments (9)

dogehk avatar dogehk commented on August 19, 2024

You must be updated AudioKit version on the pod file.
I solved using 4.10.1 version of AudioKit.

from audiokitsynthone.

Zieng avatar Zieng commented on August 19, 2024

Hi @dogehk thanks for your reply!
I tried to use the 4.10.1 version of AudioKit:

diff --git a/Podfile b/Podfile
index 514ebad0..e889fd85 100644
--- a/Podfile
+++ b/Podfile
@@ -8,7 +8,7 @@ source 'https://github.com/CocoaPods/Specs.git'

 def available_pods
     pod 'AppCenter'
-    pod 'AudioKit', '= 4.9.2'
+    pod 'AudioKit', '= 4.10.1'
     pod 'Disk', '~> 0.3.2'
     pod 'Audiobus'
     pod 'OneSignal', '>= 2.6.2', '< 3.0'
@@ -20,7 +20,7 @@ end

 target 'OneSignalNotificationServiceExtension' do
     pod 'OneSignal', '>= 2.6.2', '< 3.0'
-    pod 'AudioKit', '= 4.9.2'
+    pod 'AudioKit', '= 4.10.1'
 end

but I still can get it compiled. There are new errors coming:

 framework not found Pods_OneSignalNotificationServiceExtension

Full error log:

Ld /Users/$USER/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-fwbpfaeosrpufkeapdpxwwfrfyha/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension normal x86_64 (in target 'OneSignalNotificationServiceExtension' from project 'AudioKitSynthOne')
cd /Users/$USER/code/AudioKitSynthOne
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios11.3-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.5.sdk -L/Users/$USER/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-fwbpfaeosrpufkeapdpxwwfrfyha/Build/Products/Debug-iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -F/Users/$USER/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-fwbpfaeosrpufkeapdpxwwfrfyha/Build/Products/Debug-iphonesimulator -F/Users/$USER/code/AudioKitSynthOne/Pods/AudioKit/iOS -F/Users/$USER/code/AudioKitSynthOne/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework -filelist /Users/$USER/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-fwbpfaeosrpufkeapdpxwwfrfyha/Build/Intermediates.noindex/AudioKitSynthOne.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/OneSignalNotificationServiceExtension.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/../../Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/../../Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/$USER/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-fwbpfaeosrpufkeapdpxwwfrfyha/Build/Intermediates.noindex/AudioKitSynthOne.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/OneSignalNotificationServiceExtension_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fapplication-extension -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/$USER/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-fwbpfaeosrpufkeapdpxwwfrfyha/Build/Intermediates.noindex/AudioKitSynthOne.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/OneSignalNotificationServiceExtension.swiftmodule -lstdc++ -ObjC -lc++ -framework AVFoundation -framework AudioKit -framework AudioKitUI -framework CoreGraphics -framework OneSignal -framework SystemConfiguration -framework UIKit -framework UserNotifications -framework WebKit -e _NSExtensionMain -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/$USER/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-fwbpfaeosrpufkeapdpxwwfrfyha/Build/Intermediates.noindex/AudioKitSynthOne.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/OneSignalNotificationServiceExtension.appex-Simulated.xcent -framework Pods_OneSignalNotificationServiceExtension -Xlinker -dependency_info -Xlinker /Users/$USER/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-fwbpfaeosrpufkeapdpxwwfrfyha/Build/Intermediates.noindex/AudioKitSynthOne.build/Debug-iphonesimulator/OneSignalNotificationServiceExtension.build/Objects-normal/x86_64/OneSignalNotificationServiceExtension_dependency_info.dat -o /Users/$USER/Library/Developer/Xcode/DerivedData/AudioKitSynthOne-fwbpfaeosrpufkeapdpxwwfrfyha/Build/Products/Debug-iphonesimulator/OneSignalNotificationServiceExtension.appex/OneSignalNotificationServiceExtension

Any more suggestions?

from audiokitsynthone.

Zieng avatar Zieng commented on August 19, 2024

OK, I finally made it compile.

  1. use AudioKit version 4.10.1 as @dogehk suggested
  2. open AudioKitSynthOne.xcworkspace instead of AudioKitSynthOne.xcodeproj
  3. fix the AudioKitSynthOne/AudioKitSynthOne/DSP/AKSynthOne.swift:12:2: Explicit '@objc' on subclass of 'AKPolyphonicNode' requires iOS 13.0.0 error

from audiokitsynthone.

dogehk avatar dogehk commented on August 19, 2024

@Zieng Great!

from audiokitsynthone.

marcussatellite avatar marcussatellite commented on August 19, 2024

@Zieng @dogehk I submitted a PR with these changes....I tested with Xcode 11.5 and iOS13.5. I'm asking a team member with access to devices running iOS < 13 to test as part of the PR review. Thank you for debugging this.

from audiokitsynthone.

marcussatellite avatar marcussatellite commented on August 19, 2024

@Zieng this is my PR with your fixes:
#163

from audiokitsynthone.

marcussatellite avatar marcussatellite commented on August 19, 2024

@Zieng if the testing goes well...I can cancel my PR and you can submit instead if you want...really appreciate your effort and want you to be credited with it.

from audiokitsynthone.

Zieng avatar Zieng commented on August 19, 2024

@marcussatellite Thanks for your quick response!

It seems the Travis CI build failed on xcode11.2 and I'm not sure if I can help debug the build failures because I'm kind new to iOS development and I only have xcode 11.5 installed.
This is a great project and I'm wiling to help so if there is something I can help please let me know.

Cheers

from audiokitsynthone.

marcussatellite avatar marcussatellite commented on August 19, 2024

from audiokitsynthone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.