I'm using a icarousel sample project from github that creates a coverflow on iphone and ipad application with storyboard and ios 5. But Tehre are total 19 errors due to the ARC.
I have compiled it by disabling the ARC but that didn't solve my problem.
How can I fix this problem?
Any help...
EDIT
I am using XCode 4.2 and Mac 10.6.8
As per my knowledge iCarousel's newer version is not compatible with Xcode 4.2 try to update your xcode and use it. You can also download the older version on iCarousel and use it.
I never tried but older versions should work fine.
Hope that would help.
Related
I updated my Xcode to Version 10.2 (10E125) and my existing swift project crashes with "objc[29733]: Swift class extensions and categories on Swift classes are not allowed to have +load methods" while running in iPhoneX simulator 12.2
Apparently in iOS 12.2 you can't use anymore + (void) load.
You should refactor your code to use __attribute__ instead of + (void) load.
The old answer was given incorrectly but has good talk material to understand the problem.
I ask to any Developer to give a better answer that this one. I reckon my lack of knowledge is a speed bump on this answer but my idea is to at least start giving some insight on how to solve it!
If at least one developer can make is code work, my job here is done :)
===============================Old Answer==================================
It's a known bug.
It seems the new 12.2 don't allow some method's to load swift modules.
A Fix was already made, let's hope it enters the react native 59.3. (Fingers Crossed.)
For more information:
https://github.com/facebook/react-native/issues/24139
There are some temporary work arounds pls check the link above.
=============================EDIT old answer===============================
react-native 59.3 was released a few moments ago with this bug fixed, pls update.
For anyone encountering this error in a React Native project with Xcode 10.2, check that you are using version 0.59.3 or later of react-native, which includes a fix for this issue, which is related to using RCT_EXTERN_MODULE for Swift classes.
This issue was due to incompatible version of pod library for Xcode 10.2. Solved by updating all the library with version compatible to Xcode 10.2.
My Xcode version today is 4.3, so it only supports iOS 5.0, right?. Then I finished my project for my client. What I wanted is for my project to be supported for iOS 5.1, I was thinking of updating my Xcode to 4.3.3, or should I update it to 4.4? to support iOS 5.1. I am really confused right now.
Would my project be still compatible with the version I am going to update it to, or I'll be changing some codes in my project.
Hope someone will help me, I'm kinda of scared making a mistake.
Thanks for your consideration.
Update your XCode to latest version It would support all lower version as well. Lower version of XCode doesn't support the upper IOS version than its Compatible IOS version but the latest version of XCode would support all lower IOS version.
I think it is clear enough.
As you can see at the description, Xcode 4.3.3 and Xcode 4.0 both compatible with Lion and support iOs 5.1.
What i want you to know is that from iPhone 5 release it became clear that iOs 6.0 is coming today, probably with the Xcode 4.5 release version to support the latest SDK - it must require Mountain Lion though. And you'll probably lose armv6 support.
Usually you don't have to change any part of the code for the newer SDK support unless you are using something declared as private at header comments or explicitly marked as deprecated.
Doesnt Xcode 4.3 support 5.1 Already? are you on Lion? if so, then xcode 4.3 should be supporting 5.1 already.. BTW, xcode 4.3.3 is a lot better and stable version. You shouldn't be worried about it, and have it updated.
I want to create phonegap application for iPhone/iPad. I checked their website but it says that it supports only xcode 4.3. I think that there will be a way to install lower versions of phonegap like 1.5 or something in xcode 4.2. But I din find any proper documentation for the same in their website (for xcode 4.2). Can anybody help me with the issue.
I can't update to xcode 4.2 as I am using snow leaprd and I don't want to update to lion.
Duplicate of this question.
You can just fix the compile errors. I documented the process here. It works with the basic app, not sure if you add more complex codes.
I am creating an iPhone project for iOS 5. I need to know if i can run the program in iPhone 4.3.3 and higher ?
Are you using anything in your code that was introduced with iOS 5.0 & newer? (such as storyboards)
If your answer is yes, then you can't run it on 4.3.3.
If no, then you can set the minimum required version to 4.3.X (and here's a tutorial you can use).
Here is a related question (and another one) that may help you out a bit more.
IIRC, you can configure the simulator in xCode to emulate an earlier version of iOS so you can confirm whether or not it will work on 4.3.3. Have a look at the build settings for your project, you can change the target O/S. I'm not sure all versions are available by default though. You might need to download other versions to test.
You said you are using ARC. ARC will work with iOS 4.x, but not iOS 3.x. So ARC will not be a problem. Based on everything else you said about not using storyboards and everything being coded, you should be okay. If you click on a method in Xcode it should allow you to bring up the documentation, and in the documentation it will provide the iOS version that it was released for. Make sure that this it iOS 4.3.3 or lower.
I am trying to add iAds in my existing Iphone application. I have implemented everything by following: http://www.raywenderlich.com/1371/how-to-integrate-iad-into-your-iphone-app
but the ads do not show up in my app. I am using XCode 4.0.1 and iOS 4.3.3.
I can't even run the example given on that link. When I run my existing code on XCode 3.x version everything works fine and ads show up correctly.
Can anyone tell me what's the problem with Xcode 4.0.1 version ?
Thanks.
I upgraded my XCode and it solved the issue. May be it was a bug with XCode