iOS OCUnit Deprecated cannot Convert to XCTest - ios

Good day mates! I just want to ask if how can i fix this problem. I'm using xcode 5.1.1 with the device version 7.1.1, but this is working on xcode 5.0 and if the device is 7.0 below. but in this new updates im getting this problem.
I Tried to look for solution and i got something that you need to convert the OCUnit to XCTest, but when i tried to convert it by going to Edit>Refractor>Convert to XCTest...
I only got this.
Just a blank window without nothing to select. how can i fix this :( Please help.

Related

swift code completion doesn't work

I don't know what's wrong with my xcode. My project could run on my iphone properly (so I guess there is nothing wrong with my project). But in the Xcode editor, I couldn't "jump" to function or variables definition. it shows
this could be fixed by just restarting Xcode.However, after about a few minutes, it doesn't work again...
I already check Xcode 6 Swift code completion not working
But no luck..
my swift version is 1.2, and Xcode version is Version 6.4 (6E35b)
any one help?
Unfortunately the Swift support in XCode is still very buggy. It gets better with every release, but it's far away from perfect.
For me, the only thing that seems to help is to delete DerivedData and restart Xcode.

Xcode does not provide any suggestion when select swift language

I am just trying to learn swift. When i type #, XCode doesn't give any suggestion. I want to write #IBAction, #IBOutlet etc. If i write that, XCode does not show any error and it's work fine. If it's work then, why Xcode does not show any suggestion? I am using XCode 6.2 and iOS 8.2 . Please tell me how can i solve this problem?

XCode 6.1 iOS submission

I had updated my xcode to the latest version.
I wrote my program in swift and I try to upload it.
I put my Minimum System Version to 7.0 and added the SDK for 7.0 and it compiled fine.. but when I try to upload I get ERROR ITMS-90362 The value for key 'MinimumOSVersion' in bundle is invalid. the minimum value is 8.0.
I had double checked and I saw everywhere that swift supports iOS7. How is this possible?
Another problem is that I get this weird error: ERROR ITMS-90209 Invalid segment alignment. The app binary does not have the proper segment alignment.
I have the latest xcode from the AppStore. I even opened it through there. I tried extracting, clean, Application Loader.
Nothing seems to work.
I'm out of ideas.
Please help
Are you using embedded frameworks in your project?
If so, it could lead to such an error, as even though they work on iOS7, they're not supported on iOS7 and validation fails with a similar message when submitting.
If you're using swift features for ios8 only (e.g. transitions) then your program will still compile when your deployment target is ios7. You need to test it in the simulator with an ios7 device.
You need to use the iOS 8 (or latest) SDK but set the "iOS Deployment Target" to iOS 7.
I had the same error you had when trying to submit my app via xCode 6.1.1
Turns out, you can't mix Swift and dynamic libraries. I had 2 dynamics libraries in my project, and removing them and re-adding them another way (using cocoapods) fix my submission issue.

Xcode 4.2 + iOS6 = Interface Builder error

I am trying to use the new iOS6 SDK with an old version of Xcode, 4.2. And I really need to be this way.
I have followed this instructions: https://stackoverflow.com/a/9621226/987480
Everything seems to be OK, but when I have tried to compile, I got an error about Interface Builder
In Base SDK I have Latest iOS(iOS 6.1). Is anyone having the same problem? Any workaround, or a different way of getting an old Xcode+iOS6 SDK working?
Thanks a lot.
EDITED: Besides I can not edit any xib files, everytime I got a Crash Error
install xcode again, it works for me

iOS Tutorial not working in iOS 5.1

I have completely finished this tutorial, which does not seem to work for me.
http://zaldzbugz.posterous.com/how-to-mark-or-get-the-highlighted-string-ins
This is a great tutorial showing how to copy/paste content from a uiwebview.I downloaded the source and ran it on my ios simulator, but i can't get the text i selected. As a result i only get an empty string.
Does anyone know why it's running anymore?
I'm using iOS SDK 5.1
Sincerely,
Zoli
Additional info
using iOS 5.0 simulator it's working, using iOS 5.1 It's not.
I was a really interesting error. After installing ios5.0 simulator it worked both in 5.1 an 5.0 too.

Resources