ZXing Library running perfectly fine in iOS 4.3, generates errors in iOS 5 - iphone

I have integrated the Zxing Library for QRCode Reader in one of my iPhone app.
It was running fine when I was using iOS 4.3 SDK.
But after I have installed iOS 5 SDK and Mac OS Lion on my Mac, it has started giving errors like
How can it be resolved?

I was going mad with that problem, but I found the solution!
Redownload the 1.7 version, replace all files, build, close xcode and rebuild the project! It should work :)

Related

parse.com Linker Error xcode 6 swift

After I installing xcode6 I got some errors with parse.The project was working just fine in beta versions of xcode 6. I think i might be parse.com that is not compatible with xcode6. I think I have added all the frameworks properly
I experienced the same problem,
first, download the latest SDK version from Parse.com
second, I noticed that when I run it NOT on the iPhone 6 simulator it works fine.
You're targeting the iOS Simulator, which the Parse framework does not seem to support. So:
Clean project.
Change the destination from iOS Simulator to iOS Device.
Build.
That's all you need to do.

XCode 4.6.3 not detecting iphone device which has 7.0.2

The OS version of my phone is 7.0.2 (11A501). I am using XCode 4.6.3. The IDE Xcode is not detecting my iPhone. When i go to organizer it tells me the following
The version of iOS on “Joe iPhone” is not supported by this
installation of the iOS SDK. Please restore the device to a version of
the OS listed below, or update to the latest version of the iOS SDK;
which is available here.
However, i have read in various forums that if i download xCode 5 i will not be able to build for ios 5 or 6 applications. What should i do ? Help/
It sometimes suffices to copy the device support files from a newer Xcode version to an older one. Try copying
Xcode5.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.0 (11A465)
to your Xcode 4 installation, but name it "7.0.2 (11A501)"
There is a neat trick to install the app on and iOS 7 device with Xcode 4.6
First download from the developer center Xcode 5 and install it manually in a separate folder in your Applications folder (I did add it in an Xcode foler, inside Applications).
So now you have both Xcode 4.6 and Xcode 5 on your Mac.
Now, run your code on Xcode 5 and install it on your phone (press the debug button on your iOS device). Once this is done, you can quit Xcode 5, open Xcode 4.6 and it will be able to debug the app on your iOS7 device just fine!
You will be able to run iOS 6 apps easily from xCode 5 - no problem.
Updating xCode is only way to work with iOS 7 devices - you have no choice.
Yes, you have to update your xcode, or create an IPA and install it on your device with iOS 7.0.2 by iTunes.
First of all, definitely you have to install XCode5.
Initially you can build application only against IOS7, but you can manually add IOS6 SDK.
XCode SDK's are placed on this location:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
You can copy IOS6 SDK from this location of XCode4.6 and paste it into same location in XCode5.
This way you can choose will you build your application against IOS6 or IOS7.
Run your code in Xcode5 the again run in Xcode4.6 will solve problem.
if you want to debug your Apps in xcode with ios 7 then, Updating xCode to version xcode 5 is only way to work with new ios (ios 7.0.2) and xcode 5 requirement is MAC os 10.8.4 , you have to update your OS ,if you right now using older version of operating system
Thanks

Testing on jailbroken brand-new iOS device - using Xcode?

OK. So, here's some details on my situation :
I've got a brand-new iPhone 4.
The iOS version has been updated to 5.1.1 (9B206).
The phone has been jailbroken using redsn0w.
I'm running Lion (10.7.4) and Xcode 4.3.
Now, my issue :
I'm creating a sample test app, which runs fine under the simulator.
Followed everything here, but without any result.
Also tried enabling my device via Organizer ("Use as development device").
When I click on "Use as development device", it keeps saying...
The version of iOS on “Dr.Kameleon’s iPhone” does not match any of the
versions of iOS supported for development with this installation of
the iOS SDK. Please restore the device to a version of the OS listed
below, or update to the latest version of the iOS SDK; which is
available here.
OS Installed on Dr.Kameleon’s iPhone
5.1.1 (9B206)
Xcode Supported iOS Versions Latest
5.0 (9A334)
4.3
4.2
While, when I try running on my "iOS device" (that's how it appears), it claims there's no device with a proper iOS version.
No provisioned iOS devices are available with a compatible iOS
version. Connect an iOS device with a recent enough version of iOS to
run your application or choose an iOS simulator as the destination.
Any ideas? What's going wrong?
Look, everyone who says you can't build directly on a jailbroken device is wrong. You can, and it's quite easy to do. If you don't have a provisioned device (and it looks like you don't), using this guide will work. I've tested it myself on Lion running Xcode 4.3 (it even works on later versions, but those are under NDA).
The real issue seems to be that, for whatever reason, you don't have the iOS 5.1 SDK - you're using the iOS 5.0 SDK. You can confirm this by looking in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport. If you don't see any mention of 5.1, you don't have it installed. Try downloading and installing Xcode again (I believe it's 4.3.2 now), which should have the iOS 5.1 SDK bundled with it.
This error is not due to the jailbroken iPhone, its basically due to your lower version of Xcode which doesn't support the latest iOS, try upgrading your Xcode version to latest.hope it helps

How to cross-compile Tesseract 3.01 for iOS 5?

I'm new to cross compiling. I have tried the way from Robert Carlsen's blog Cross-compiling for iPhone Development, but I got the error:
leptonica library missing
when I tried to compile with build_fat.sh.
But I can successfully build Tesseract with ./configure make.
I’m using Mac OS Lion, XCode 4.3, iOS5.0 SDK.
Does anybody have the updated script for this configuration? It has frustrated me for a few days now…
Have a look at how to: compile and use tesseract (3.01) on ios (sdk 5).
I tried that a few weeks ago, using Xcode 4.2.x, Mac OS Lion, and iOS5 SDK and it worked great. The article provides a list of sources to get (including leptonica) and provides a build script.

Errors running xcode 3.2.2 on Lion

Just installed xcode 3.2.2 (on Lion) so I can test my app for the iOS 3.0 and 3.2
Created a simple test app based on View application template.
Just trying to build it gives me the following error.
I doubt you can use XCode 3 with Lion, even I was using XCode 4 and had to update to 4.1 to run on Lion.
However if using XCode 3 is mandatory for you I found some post explaining how to do so but it seemed tricky. In his original post he clearly mentions the same problem as you're having.
You can (must? should?) use the latest version Xcode and still target the older iOS. I see that you're trying to do this presumably to use the simulator, but I'd strongly recommend testing on the actual devices with the older versions of iOS.