-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[iOS] Can't build without ARC errors #31
Comments
Hi @jonesdar , I think this problem is similar to #30 , I'm still trying to reproduce this error, looks like these block properties can't be nullable, if you remove |
Hello. No that doesn't help. Adding |
I think it might be Xcode version related. Our build machine has just built things successfully and it's using Xcode 7.3. |
@jonesdar great thanks ! I'm using Xcode 7.3 and I can build it without error, I'll release a version after doing some test. |
Thanks @wkh237. That fixes the 3 errors in RNFetchBlobNetwork.m. The one in RNFetchBlobFS.h is still there though. Adding |
@jonesdar thank you, Looks like I missed that one in |
Xcode 7.2 build is now working for me. Thanks @wkh237 for the quick turnaround. |
@jonesdar you're welcome 👍 |
@wkh237 Hi! Image-upload to firebase storage using React Native is what I wanna do right now. |
@Pianist038801 let me clone the repository and see if there's anything I can help. |
@wkh237 Oh, I just found a mistake. I fixed it. Thanks for your kindness. |
RNFetchBlobNetwork.m:32:13: ARC forbids synthesizing a property of an Objective-C object with unspecified ownership or storage attribute
RNFetchBlobNetwork.m:35:13: ARC forbids synthesizing a property of an Objective-C object with unspecified ownership or storage attribute
RNFetchBlobNetwork.m:36:13: ARC forbids synthesizing a property of an Objective-C object with unspecified ownership or storage attribute
RNFetchBlobFS.h:18:28: Existing instance variable 'callback' for property 'callback' with unsafe_unretained attribute must be __unsafe_unretained
I'm using 0.5.3.
Is it because I've added the project manually rather then with rnpm and have missed some build flags?
The text was updated successfully, but these errors were encountered: