3,984
questions
1
vote
0
answers
411
views
Xcode iOS build fail in Azure Devops Pipeline : Xcodebuild error code : 65
I have been trying multiple things to solve this but I did not find any solution. There are multiple issues with this reference found on GitHub and stack flow and tried all solutions possible but ...
-1
votes
1
answer
575
views
Is there a way to reduce xcode build time using az pipeline caching?
I am currently using xcode built-in tasks and facing issue while caching and reducing its time.
I have already used caching in the same pipeline to reduce Cocoa Pods time too.
After successful caching ...
0
votes
1
answer
382
views
Why am i getting FirebaseStorage.StorageError error 8?
When attempting to post with an image to Firebase Cloud I am getting "Cannot create post: This operation could not be completed. (FirebaseStorage.StorageError error 8)"
What could be the ...
0
votes
0
answers
253
views
Trying to initialize a CocoaPod for an Xcode project ends up with a Bad CPU type in executable
I have installed CocoaPods on my system via terminal with the command:
gem install cocoapods
Apparently everything went well.
Now I have a new Xcode project that I want to initialize CocoaPods. ...
0
votes
0
answers
5k
views
Unity-iPhone" requires a provisioning profile
please help me :(!!!!
I'm new to unity and Xcode too, I just Build my unity project to the Xcode but I faced this problem and today is the third day that I couldn't solve it.
please please help me and ...
-5
votes
4
answers
1k
views
Binary operator '==' cannot be applied to operands of type 'UILabel?' and 'String'
Error : Binary operator '==' cannot be applied to operands of type 'UILabel?' and 'String'
import UIKit
class ViewController: UIViewController {
let Soft = 5
let Medium = 8
let Hard = 12
...
3
votes
1
answer
3k
views
How to solve completionHandler was not called error in xcode
Im using this following function to perform manual server authentication in xcode using URLSessionDelegate
func webView(_ webView: WKWebView, didReceive challenge: URLAuthenticationChallenge, ...
0
votes
1
answer
580
views
Some Xcode build settings are missing
Top in the screenshot is an Xcode project from someone else, bottom is a project created by me, both are C/C++ library projects.
My project settings is missing the whole Apple LLVM 5.1 - Language ...
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 ...
0
votes
1
answer
2k
views
Apple Mach-O Linker (ld) Error. ld: -r and -dead-strip cannot be used together
XCode 5.0.1 is giving me an error after successful compilation of 161 C++ project files.
There were many Apple Mach-O Linker Error questions but none helped me.
Message for the error is as following:
...
0
votes
0
answers
43
views
How to set the internet connection in Xcode5?
I've recently started the iOS development and unfortunatelly, I have not enough money buy Mac and setup a virtual machine. I use XCode 5 version and the app does not work the way I want. I guess a ...
0
votes
0
answers
34
views
xcode5 'Expected Expression' error
I almost finished to build a project when this code gave me an error:
struct dyld_all_image_infos *dyldaii;
mach_msg_type_number_t size = sizeof(dyld_all_image_infos);
vm_offset_t readMem;
...
0
votes
0
answers
95
views
Xcode error? Use of undeclared identifier [duplicate]
I am trying to build a project, yet it keeps saying that it has use of undeclared identifier 'QOS_CLASS_BACKGROUND' ... This phrase is keeping me from building
spatch_async(dispatch_get_global_queue(...
0
votes
1
answer
273
views
Using Xcode to debug cpp program
int main(int argc, const char * argv[])
{
if (argc != 2){
cout << "Usage: ./Sort <file_name>" << endl;
return EXIT_FAILURE;
}
//and so on
}
How can I ...
1
vote
2
answers
198
views
Pushing data in existing Multidimensional NSMutableDictionary Objective c
I have a record of 100 Electronic items with Categories in database, with every request I load 20 records in Table View. I want to merge 2 arrays into 3rd array
E.g.
1) NSMutableDictionary *...
-7
votes
1
answer
260
views
Why does this tell me that "gender" is an undeclared identifier on line
int main()
{
introduction();
int x;
cin >> x;
if (x == 1)
cout << endl << "1. Only state true information." << endl << "2. Do not copy this servey ...
0
votes
2
answers
2k
views
Getting field values of Json Object from HTTP response [duplicate]
i am developing an iOS app in Swift using Xcode. How can I get values of Json object from this HTTP response.I need values of inner message and status.
{"message":"success","statusCode":200,"data":{"...
0
votes
2
answers
46
views
Created New Project and click on storyboard Xcode 5 crashes
Tried cleaning, restart and reboot did not work.
2
votes
1
answer
73
views
AppleTalk framework not found
I have a library which was Building perfectly fine in MacOSX10.10 XCode5.0.2 I was using Base SDK 10.8 and deployment target 10.6. now I have to ported that solution to MacOSX10.11 and Deployment ...
0
votes
0
answers
45
views
XCode 7 (upgrade from XCode 5), setting int variables on self is behaving strangely
So I'm taking a project from Xcode 5 and porting it to XCode 7. I'm running into some very strange behavior where essentially I have a class that sets an integer instance variable on itself, and when ...
2
votes
2
answers
118
views
Two UITableView in same Controller
I think this is a bug.
IOS 7.0, XCode 5.
I am having a Table View Controller in my storyboard. I have a TableView with "3" Static Cells. Then I added a "View" and inside that I added a TableView ...
0
votes
1
answer
1k
views
Setting Property Value of Object in Applescript Objective-C
I am working in XCode (5) on OSX 10.9.5, creating an ApplescriptOjbC project.
I have created a new applescript in the project with a class (script) named "MSDropBox" and am using it to accept the ...
1
vote
3
answers
3k
views
Taking the address of a temporary object of type 'Node'
t.PreorderTraversal(t, &t.getRoot()); The error is taking the address of a temporary object of type 'Node'. Root is a Node class object. The function PreoderTraversal will Node object as a point, ...
1
vote
1
answer
115
views
Does NSAffineTransform have different Coordinate system in Mac OS X 10.11?
My project works well on Mac OSX 10.10/10.9, however it works incorrectly in 10.11 with this code:
[(PDFAnnotationInk*)_activeAnnotation removeBezierPath:_path];
[_activeAnnotation setBounds:bound]; ...
0
votes
0
answers
107
views
Xcode is not supported on this architecture
I am trying to download Xcode on my MacBook but once it is downloaded I receive the message " you can't open the application "Xcode " because it is not supported on this architecture. My MacBook is OS ...
0
votes
3
answers
152
views
iBeacon Receiver is not recognising the transmitted signal
I am working on iBeacon transmitter and receiver. I have successfully completed the transmitter part but the other part the receiver is not recognising the transmitted signal. Can any body please help ...
0
votes
1
answer
61
views
Using NSUserDefaults in Xcode 5 to save the second opened view
I need to login from the first view controller by entering email and should navigate to the second view controller. The entered email in first view controller has to be displayed.
Until this, it is ...
6
votes
2
answers
5k
views
Submit and Validade button disabled on archive
i'm trying to create my archive to send my app to the store but the "validate" button and "submit to app store" are disabled.
What i'm doing wrong?
package content
target:
1
vote
1
answer
72
views
Localization in Xcode 5
I have around 1000 strings from storyboards and .m files which are converted for French Language. I need to add more strings to the same project. How do I update the strings file for my project?
...
0
votes
4
answers
732
views
Empty data while trying to send Post method request
I'm trying to send me POST method Request, however when the post is sent the data that is stored in the database is empty i don't get the Value that i have sent this is what i tried:
NSString *...
1
vote
1
answer
50
views
Will apple reject apps built with xcode 5.1
I just want to know that will apple reject app build with xcode5.1 since i ready that you need xcode6 after 1st june , but the apple documentation says you need apps built with 64bit arch and ios8 , ...
0
votes
1
answer
271
views
xcode 5 crashes while opening xib developed in xcode6
I want to test my app for ios6. So, i downloaded xcode 5. In xcode5 While opening xib, xcode crashes with following log. Kindly suggest a solution.
Process: Xcode [2807]
Path: ...
2
votes
2
answers
330
views
How to build a blender build in Xcode 5?
I have been trying to create my own custom build of blender following through with the wiki but I have had no luck with actually building the final version with X Code. I have about 140 warning ...
-1
votes
1
answer
51
views
When will Apple start rejecting apps built with Xcode 5.x?
We are still working with Xcode 5 builds for certain things. Now that Xcode 7 is out we fear soon builds with Xcode 5.x+ will not be accepted in the store. Do we know a deadline for that?
2
votes
1
answer
588
views
Test app on iOS 6 simulator on Yosemite
I've downloaded Xcode 5.1.1, and when I tried to install iOS 6.0 Simulator, I get an error:
"Could not download and install iOS 6.0 Simulator. The package “iPhoneSimulatorSDK6_0.pkg” is untrusted."
...
-8
votes
1
answer
261
views
UIAlert does not work in IOS 7 (Swift)
I have this alert confirm box in swift, it works perfectly in IOS 8, but it does not work in IOS 7, how can i resolve it please ?
Here is my code
var refreshAlert = UIAlertController(title: "...
1
vote
1
answer
915
views
How to add prefix file in xcode 5 existing project?
Hope all of you'll be fine.
I am doing a project in which i need to add core-data functionality. I am working on xcode-5. I need to add pch file in xcode-5 existing project as it was missing in the ...
0
votes
2
answers
745
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 ...
1
vote
1
answer
209
views
__asm block causing crash in Xcode 5
I have a small class for getting CpuID information.
Inside a class constructor I have an inline function using asm code to get cpuid information. It works fine in Windows and it worked fine in Xcode 3,...
4
votes
2
answers
4k
views
How do I do a bit-wise XOR on NSData in Objective-C?
I have two NSData objects, data1 and data2, and I'd like to do a bit-wise XOR and store the result in a third NSData object, xorData.
The first thing I tried was this:
*data1.bytes^*data2.bytes;
...
5
votes
1
answer
1k
views
How can i calculate code coverage of a static library in XCode 5 using a project that links to this static library?
I have an Xcode5 project that builds a static library as its product. While building this library i had turned on the Code coverage settings i.e. "Generate Test Coverage files" and " Instrument ...
1
vote
1
answer
63
views
Required character in NSString is replaced with encoded variable
I have an NSString that contains a value "\U2212" instead of "-" which is coming from API. When I tried to replace this string with needed character using subString occurrence method it shown error. ...
-1
votes
2
answers
742
views
You can't open xcode because it is not supported on that Architecture?
I have install VMWARE (virtual Machine) on Windows 7. And have installed Mac OS Leopard 10.5.5 image on that Virtual Machine.
Now i want to install Xcode 5.1.1 on that Mac os, but it gives above Error....
0
votes
0
answers
103
views
Unknown class ViewController in Interface Builder file i have over ridden
in my project i have removed the Default ViewController which will be added from the SingleView Template and over ridden with
myapiViewController *fst = [[myapiViewController alloc]init];
...
2
votes
4
answers
4k
views
stop UIimageview animation at last image
NSArray *imageNames = @[@"2_00000.png", @"2_00001.png", @"2_00002.png", @"2_00003.png",
@"2_00004.png", @"2_00005.png", @"2_00006.png", @"2_00007.png",
...
0
votes
4
answers
2k
views
My iOS app works in simulator but instantly crashes when I try to open it on my phone
[EDIT] Possible fix: my ipa was unsigned, I bought a Developer's account and will test tomorrow with a signed .ipa. [/EDIT] This is my second app. It's very simple, all it does is send a post request ...
0
votes
1
answer
115
views
Xcode 5.1.1 not able to select new pre release version while submitting app to appstore
I have created a new pre-release version in iTunes connect for one of my app which is already there in app-store.
So the Live version is 2.1 and I have created a new version 2.2 in iTunes and it is ...
0
votes
0
answers
67
views
Xcode upgrade from 5 to 6 - distorted storyboard views
I recently updated my development environment from XCode v5.1 to XCode v6.1 and found a lot of elements in the new storyboard in individual "screens" as out of place. I have added two screenshots of ...
3
votes
1
answer
61
views
can't open .XIB to another lower system version
In my mac project I have created .XIB file in xcode 5.1.1(OSX 10.10.2). This .XIB file i can't open in xcode 5.1.1(OSX 10.8.5) another system.
Try below methods:
open this file via pull from source ...
1
vote
1
answer
70
views
xcode simulator is installed but isn't available from terminal
I've installed xcode Version 5.1.1 (5B1008), and I've installed command line tools using xcode-select --install. I can check it using xcode-select -p.
but when I call simulator from terminal I get ...