skip to Main Content

Weak linking static library in Xcode

I'm trying to achieve weak linking with static libraries. I’ve read those two articles, "Static Library on iOS" and "How Jesse Pinkman cracked Dynamic Library on iOS", which are really helpful. However, I’m in a situation that I cannot achieve…

VIEW QUESTION

Getting URL from firebase storage and setting it to an AVAudioPlayer always throws error (swift xcode)

I'm trying to download a URL from Firebase storage and save it to an AVAudioPlayer func loadAudio(post: CompPost, completion: @escaping (AVAudioPlayer) -> ()) { let audioRef = Storage.storage().reference().child("cPosts").child(post.uid).child("Audio").child(post.mp3) audioRef.downloadURL { (url, error) in print("mp3filename: " + post.mp3) guard error ==…

VIEW QUESTION
Back To Top
Search