Closed Qfccse closed 1 year ago
You'll need to create a file called Hidden.swift
in the Helpers folder.
Something like this should work:
struct Hidden {
static let apple_music_api_key = /* Your Apple Music api key from AppStoreConnect */
}
If you don't have an Apple Music api key, you can set apple_music_api_key
to an empty string, this will just make searching and other such network features not work, but downloaded music should still work great!
Feel free to close this issue if this solved it for you, or let me know if you have any other issues or questions :)
those two swift files are also not found
That's my bad, just pushed up a commit which should sync the project.pbxproj with the file tree.
Also, I forgot to mention the Hidden.swift file needs to have the WidgetExtension as part of its target membership. Let me know if this fixes your issues, I'll update the readme.md to reflect the necessary prerequisites :)
I also changed the default branch from master
to main
, so if that causes any issues on your side, let me know
thank you, now i can run this proj perfectly
Build input file cannot be found: '/Users/macos/Desktop/xcode/NeoMusic-SwiftUI-master/NeoMusic-SwiftUI/NeoMusic-SwiftUI/Helpers/Hidden.swift' (in target 'NeoWidgetExtension' from project 'NeoMusic-SwiftUI')