Questions tagged [xcode4]

Xcode 4, released in June 2011, is Apple's integrated development environment (IDE) for Mac OS X and iOS. This tag should only be used for questions about this specific version of Xcode, and not for general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, or [cocoa-touch] for iOS (formerly iPhone OS) programming questions.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Is there a way to change XCode 14 filelist's icons color scheme?

Recently I installed XCode 14.2 and my files' icon's color changed to monochrome (grey-scale). When I use XCode 13.x on macOS Big Sur icons were colored (schemed). I investigated all preferences ...
ferhatozkanun's user avatar
0 votes
0 answers
114 views

Failed to launch safari in Simulator Error "[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65"

Couldn't launch the safari browser in XCode simulator please need the helpful Tried to launch the WebDriverAgent.xcodeproj in simulator it worked without any build failures
Akash's user avatar
  • 1
1 vote
0 answers
15 views

Easy question on how to get rid of the Xcode navigation bar in the Main.storyboard? [duplicate]

I can only find youtube tutorials on adding navigation bars not removing them. I am creating an Xcode app and the navigation bar is blocking one of my images that is total unnecessary to be there when ...
WereWolf12's user avatar
0 votes
2 answers
756 views

App showing white space at bottom of screen for iOS 13+ iPhones but it is fine with iOS 12 iPhones

The iOS app showing white space at bottom of screen for iOS version 13+ devices but it's fine with iOS 12 devices. This is a Xamarin.Forms project and I used CustomTabbedPage which render with ...
Yashwant Singh Rathore's user avatar
0 votes
1 answer
208 views

Duplicate objects in core data

I have a problem, my objects every time I save them are reflected in uitableview in a duplicate way, does anyone know how to solve it or if I have a problem in my code? import UIKit import ...
user avatar
0 votes
1 answer
527 views

Two tableviews in one view controller and height of tableviews should be equal to its content

I am a new in-app ios development. I am trying to get a UI like this: - Here two types of tables are attached with one table view. This design in andriod. I tried in IOS and take one table view with ...
user3120670's user avatar
0 votes
2 answers
446 views

self.performSegue cannot find storyboard-segue-ID even though it has been named

I am trying to programmatically segue in LiveController.swift. The relevant bit of code is here in LiveController.swift self.performSegue(withIdentifier:"openWelcomePage" ,sender:self) which throws ...
xiaolingxiao's user avatar
  • 4,803
0 votes
1 answer
21 views

NSCollectionView Window Changes Window Size Depending On Whether You Quit Program Or Stop from Xcode

If I stop the program from Xcode the window uses the last size I had after resizing the window. If I quit the program while it is running, it resets to the size specified in the Width and Height ...
JamesH's user avatar
  • 67
0 votes
1 answer
17 views

Trying to make an object spin fast before performing a segue

Right now when i use the CGFloat of 2 * .pi it doesn't animate. It does animate for .pi but only a half rotation. How can I make this animate for multiple rotations? I've tried multiplying .pi times ...
rudedog10's user avatar
0 votes
1 answer
353 views

Trying to Save My Timer to UserDefaults When The App Gets "Killed"

This is a timer App and I would like for the timer to pause when the app gets killed and when you reopen the app I would like the timer to display the last known time. I have setup a struct for the ...
KinneyKare's user avatar
0 votes
0 answers
183 views

How to use trudepth IphoneX front camera to detect objects?

I want to do an app that uses the front camera to detect objects and the distance from the phone to the object. However, to use the front camera trueDepth all the options available are using AR face ...
halah albadani's user avatar
0 votes
1 answer
254 views

Resizing a UIImage View on Swift 4

So I've literally looked everywhere but can't see an easy example of how to resize a UIImageView! my current code is using an IBAction and a UIView.animate to move the image UP and into the corner, ...
Taylor Styles's user avatar
2 votes
0 answers
185 views

Xcode 4 no sound

I'm new and I already looked for an answer my self but I don't get it. import UIKit import AVFoundation class ViewController: UIViewController{ var player: AVAudioPlayer! override func ...
Eliah's user avatar
  • 21
0 votes
1 answer
462 views

Overwrite data in fire base.

Is it possible to overwrite user information in firebase? When the user signs up, they have to choose a profile picture, email, password and phone number. I would like to have users be able to edit ...
user avatar
1 vote
1 answer
41 views

Moving a View up or Down when a Keyboard is Shown

NotificationCenter.default.addObserver(self, selector: #selector(ViewController.keyboardWillShow(_:)), name:NSNotification.Name.UIKeyboardWillShow, object: self.view.window) NotificationCenter....
Nick's user avatar
  • 104
-3 votes
1 answer
89 views

Xcode 4 NSURL Error

I get this error then doing this? My goal its to fetch an image from the firebase and view it in my tableview.
Nikolai Langsem's user avatar
2 votes
0 answers
1k views

Eureka Form in UITableView programmatically?

I am using Eureka Forms in my Swift 4 app and I do not use storyboards. Setting up the form programmatically is working fine, however I am using a popoverPresentationController to display a ...
Tony Law's user avatar
  • 293
0 votes
2 answers
1k views

Can't run old version of Xcode on macOS Sierra

I just tried to run old versions of Xcode on macOS Sierra.I've tried these versions:4.x,5.x,6.x. But I failed. All time I'm trying to launch old version it says that version of Xcode is incompatible ...
user avatar
43 votes
25 answers
73k views

Xcode 8.0 Command /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

When I compile my code on Xcode Version 8.0 beta 4 (8S188o) I get this single error bringing the compilation to failure: Command /Applications/Xcode-beta.app/Contents/Developer/Toolchains/...
Fabrizio Bartolomucci's user avatar
0 votes
1 answer
45 views

NSURLConnection is not building connection using AFNetworking/CocoaPods due to incompatibility [Old version of iOS]

First of all, let me tell you that I'm using xcode 4.6.3 and iOS 6.1. I have been trying to build connection using AFNetworking or CocoaPods. it throws errors due to backward compatibility issues. ...
Qasim Ali's user avatar
  • 587
2 votes
0 answers
54 views

Facebook integration error in ios xcode 9.1

App ID not found. Add a string value with your app ID for the key FacebookAppID to the Info.plist or call [FBSDKSettings setAppID:].' facebook integration error showing this error when i click on ...
Amit D.'s user avatar
  • 21
3 votes
1 answer
75 views

How To Make An Int Score on Another Page in Xcode

I am trying to make an int on another page for my game. I tried This: "score = score + 1;" "scoretext.text = [NSString stringWithFormat:@"%i", score];" But every time I switch out of that view ...
Evan Cowan's user avatar
0 votes
0 answers
140 views

How to decrypt pdf base 64 in xcode?

I 'm developing an app in xcode , I have a service that sends a PDF file encrypted in base64 to the app, the question i have is how to decrypt the file and if there is any library that allows me to ...
Alfredo's user avatar
0 votes
1 answer
120 views

What could be the cause of this if condition getting skipped even the condition inside is True?

I am debugging a C++ project (A Plugin for Adobe InDesign) for a bug on OSX 10.9.5 using XCode 4.6.2. I have encountered very strange problem in the following code, the if statement in the following ...
Abhishek's user avatar
0 votes
2 answers
60 views

Why return on function make a SIGBART signal?

I am novice on objective c. I don't understand why my function doesn't work, it make an error SIGBART on the return of the function. + (NSArray*) jsonToArray:(NSString*)jsonString { id mappedObj =...
MohamedAli's user avatar
0 votes
2 answers
739 views

How to resolve Apple - o link error

I am having one apple - o link error in my project, I have searched in Google but it's not helping me, below is my error ld: building for iOS Simulator, but linking against dylib built for MacOSX ...
Raj's user avatar
  • 67
0 votes
0 answers
49 views

Iphone App Xcode (Swift) Trouble

So I started to create my game app and I have run into a problem. I am new to coding and so I am having trouble with the intro to my app. When the app loads it fades in the title and imageview at the ...
KHart Studios's user avatar
0 votes
1 answer
191 views

Can a tutorial for Xcode 4 be used with Xcode 6?

I've never used Objective X, or Xcode, or developed any software for OS X, but I'm trying to convert an HTML5 website into a standalone app to run on OS X, so I can get it running full-screen, i.e. ...
Jonathan Wakely's user avatar
7 votes
2 answers
9k views

IOS app 'The application could not be verified' on IPhone 6

The app which i created worked well in all devices other than IPhone6 . I got the following error message in XCODE 'The application could not be verified.' . I deleted the app and then reinstalled it ...
swathy krishnan's user avatar
0 votes
0 answers
460 views

xcode gif image became large awhile load in webview

i am trying to load a gif image to the web view but while image was loading in Web view it become large... it means the size of the image is not fit to the web view.. NSString *path = [[NSBundle ...
Ketan Jogal's user avatar
4 votes
1 answer
7k views

checking whether the C compiler works... no when installing python 2.6 (mac os x lion)

I'm trying to install python 2.6 using pyenv but when doing pyenv install 2.6.9I get the following: checking MACHDEP... darwin checking EXTRAPLATDIR... $(PLATMACDIRS) checking machine type as ...
ChrisB's user avatar
  • 123
0 votes
2 answers
1k views

Undefined symbols for architecture i386: Facebook Audience Network (help needed!)

I've read close to 50 threads on here, regarding linking frameworks to an Xcode project, but I've yet to find one that covers an issue I'm having with Facebook's Audience Network framework. I'm using ...
Chris's user avatar
  • 1
0 votes
1 answer
436 views

how to get data between some special characters in ios while string manipulation

I am trying to get a substring from a string. This is my code: NSString *haystack = @"1:ketan jogal:1 2:ios developer:2"; NSString*p1=@"1:"; NSString*s1=@":1"; NSString *prefix = @"2:"; NSString *...
Ketan Jogal's user avatar
0 votes
1 answer
957 views

Use a text field to set the value of a variable

I have a few NSTextFields in my XIB. I created the action for one of my text fields, and it looks like - (IBAction)setXPos:(id)sender; In my AppDelegate.h file, I also created an int named XPos. In ...
XtremeHek3r's user avatar
0 votes
3 answers
2k views

NSTextView always scrolls to bottom. How do I force it to display at the top?

I have an NSTextView in my XIB UI. In my code, I do [textview insertText:@"text i put here"]; many times, and then finally [textview setEditable:NO]; BTW, this is to create an information ...
XtremeHek3r's user avatar
1 vote
2 answers
58 views

What's wrong with my method of giving medals with reaching certain score?

Hello I am new to all of this and just need a little help. I have 4 medals that the player should see when reaching certain levels. The problem that I have noticed is that I may reach a score of 20 ...
Christopher's user avatar
1 vote
2 answers
325 views

Inheritance and protected attribute

I'm writing the following structure : class F { protected: F* i; public: F(){i=NULL;} virtual F* clone()const=0; virtual double operator()(double x)const=0; virtual F* derivative(...
dada's user avatar
  • 1,400
0 votes
3 answers
827 views

Newton method for computing an inverse

This is following the question I asked in this thread : Link error missing vtable I defined a class 'function' and two others classes 'polynomial' and 'affine' that inherit from 'function'. class ...
dada's user avatar
  • 1,400
0 votes
2 answers
4k views

Link error missing vtable

I'm defining a class 'function' and two others classes 'polynomial' and 'affine' that inherit from 'function'. class function { public: function(){}; virtual function* clone()...
dada's user avatar
  • 1,400
0 votes
1 answer
1k views

is it possible to display a date with say 22nd with nd displayed small top right

I need to be able to display dates in a table, with the date displayed as say 22nd Sept 2014, where the nd is shown as small text to the top right of the 22 as in most date displayed formats. Using ...
user616076's user avatar
  • 3,909
0 votes
0 answers
309 views

How to make line graph from x-axis values versus y-axis values in xcode?

How to create x-y graph with x-axis values for example x1,x2,x3 versus y-axis values for y1,y2,y3?
Zia's user avatar
  • 1
2 votes
0 answers
28 views

XCODE 4 Build Error

I am new in iOS app development. I have created an app in Sencha Touch 2. Then created a UIWebView in xcode and follow this blog to call sencha's index.html to xcode's UIWebView. (Ref: http://www....
Sudipta Dhara's user avatar
3 votes
1 answer
2k views

linker command failed with exit code 1, framework and library errors

I recently received the source code for an app built in 2013 (last year). However, when I try to run it, I receive 3 warnings: ld: warning: directory not found for option '-L/Users/chesteryeum/iOS/...
Peperononew's user avatar
0 votes
1 answer
137 views

How to display a RPM of a vehicle in xcode using some graphics

I am new to xcode. This is my very first app. In this app i need to display the RPM of a vehicle and I get the RPM data from JSON service. But i don't know how to display it using graphically. Please ...
iBeginner's user avatar
  • 249
2 votes
1 answer
2k views

xcode 5.1.1 complaining: ISO C++11 does not allow access declarations

I have a project that builds and runs fine on Xcode 4.6.3. But it does not on Xcode 5.1.1. This is the unique error I get, hundred times. "ISO C++11 does not allow access declarations; use using ...
subzero's user avatar
  • 3,420
0 votes
0 answers
106 views

Access denied for IPad calender in some devices and working fine in some devices

I am facing strange problem, in few IPAD i am not getting prompt to access calender but in few IPAD same code is working fine and promot is displaying to access calender. Please let me know where i ...
user3231742's user avatar
0 votes
0 answers
116 views

Score of players does not appear on game center

I have a problem in game center with my app. Each player's score is not showing up as shown in the image link below. https://i.stack.imgur.com/bCCFF.jpg On iTunes Connect I have created a ...
ViniciusPV's user avatar
  • 1,657
0 votes
0 answers
544 views

why my Mac app fails to launch, signing issue?

I'm developing a Mac app that will be released outside the Mac App Store. So, basically I just automated the build process: it builds the app and signs the .app file with a Mac Dev ID. If I sign this ...
subzero's user avatar
  • 3,420
0 votes
1 answer
105 views

Copying xCode projects

How can I create a copy of xCode project? I mean I want copy directory with full project functionality, setting, files, images and so on. Basically I want to change only project name. I use xCode 5.
user3740248's user avatar
-5 votes
1 answer
545 views

initWithURL is unavailable: not available in IOS [closed]

I am getting the error: initWithURL is unavailable: not available in IOS on following line: HomeViewController *wBrowser = [[HomeViewController alloc] initWithURL:[NSURL URLWithString:...
Priya Saini's user avatar

1
2 3 4 5
109