Questions tagged [xcode7]
Xcode is an IDE by Apple for the development of iOS and OS X applications. Use this tag for version specific questions about Xcode 7.
3,958
questions
0
votes
1
answer
27
views
how to auto focus editor on Xcode
I am new on Xcode and crazy using vim mode for everything. On Xcode, whenever I switch to different tab on editor view I have to use keyboard shortcut command + J to show move focus to editor and ...
1
vote
0
answers
309
views
Flutter iOS project not running in xcode but working on android studio and giving module not found error
GeneratedPluginRegistrant.m
As you can see in the GeneratedPluginRegistrant.m file I am trying to import my plugins and many time I tried to fix it using these command:
main: flutter clean
main: ...
-1
votes
1
answer
29
views
(xCode) Finding nil when unwrapping an optional even though its being checked for
Very basic code
I am doing coding at school and have to create an app. Part of the app is a water usage calculator. Even though I am checking for nil values from the optional, it gets the error: "...
0
votes
1
answer
51
views
The UIButton works fine at first run, but doesn't work at the second run on the simulator
I have been trying to make this basic app. I added segue to the main view controller. In the segue, I added a button that will play a video on button click.
The button works completely fine at the ...
0
votes
0
answers
82
views
Delphi XE7 Developing for iOS 7+
I'm trying to compile an app for iOS using Delphi XE7.
I tried to install OSX 10.13 High Sierra and XCode 7.2, but cannot compile under the iOS Simulator, as I get an error that I need to specify a ...
1
vote
0
answers
165
views
How to install xcode 7 and edit Swift 2.X on macOS Mojave version 10.14.3
In Case,
My project is using swift 2.X .
Once i installed Xcode 10. Xcode 10 is not available to code swift 2.X.
So i have to installed oldest version,
i go installed Xcode version 7.X , but not ...
0
votes
0
answers
432
views
Cmake as a build step - best practice
In both Visual Studio and Xcode, in a custom build step, I run cmake to generate a makefile, then I call NMake (or make). Now, it is unnecessary for cmake to generate every time the build step is ...
0
votes
0
answers
22
views
Making Xcode custom output "clickable" to the code line
I have a custom build step that may produce errors. The build is actually an Intel Compiler for C++, and the errors have the form:
MyCode.cpp(18): error #77: this declaration has no storage class ...
4
votes
0
answers
2k
views
Xcode 7 on Mojave?
I have updated to 10.14. Then I could not launch Xcode 7.3.1 (believe me I wish this were not necessary). I downloaded and re-installed Xcode 7.3.1, but I still get the same error in the "Report to ...
0
votes
0
answers
96
views
NSUserdefault creating multiple file in Preferences folder
I am storing my application data in NSUserDefaults and every time I am accessing data with different Threads.
My application size keep increasing and it went to GBs.
Please look at screen shot how ...
0
votes
1
answer
28
views
xcode 7 image array allocation
How do I put multiple images in an empty image array in swift 2 or Xcode 7.3?
The following error keeps popping up for me:
cannot assign a value of type 'UIImage?' to type '[UIImage]'
2
votes
0
answers
271
views
Does Xcode 7.3.1 run on High sierra 10.13.6
I am using Xcode 7.3.1 with HighSierra10.12.6 and now I need Xcode 9.4.1 too for a project so I have to Update my macOS to HighSierra10.13.6.
so here my Question is-
will Xcode7.3.1 work fine on ...
-2
votes
1
answer
63
views
Swift - XCode 7 - userDefaults messing up array on save
I have been carrying values on my app through a global variable declared on the first View Controller. It's value is updated whenever the app is reopened.
When the user is on the same session, the ...
0
votes
0
answers
123
views
UITableView as inputView not showing in UICollectionView cell
I am having a really weird problem in developing my iOS app. Here's the situation:
I have a view controller that was created in Storyboard, and that VC has a UICollectionView in it. This storyboard ...
0
votes
3
answers
714
views
Custom Font not working with size class
I am using a custom font and I want it to be customised using storyboard and size class. I want to vary it according to screen size of iPad and iPhone, smaller the screen size smaller the font size. ...
-2
votes
1
answer
32
views
What is the best/easiest way to set up login/ registration screen within iOS app, with Facebook, Gmail & other registration links
What is the best/easiest way to set up login/ registration screen within iOS app, with Facebook, Gmail & other registration links.
0
votes
0
answers
142
views
Xcode 7.3.1, Unable to run the app on IOS device
Unable to run MobileFirst cordova app on device from Xcode
Application is running on simulator successfully
I have added supported DeveloperDiskImage for testing device in Xcode
Getting the error
...
0
votes
1
answer
761
views
Add iPhone X layout support to old Xcode 7 / Swift 2 project
What I have?
An old project using Swift 2 and building/running without any issue on Xcode 7. It has a lot of dependencies and sophisticated architecture which makes it complicated to migrate to swift ...
33
votes
3
answers
20k
views
This app is not allowed to query for scheme tel
I just opened an old project onbjectif-c created in 2010, the application works correctly except an interface
is not working.The error is -canOpenURL: failed for URL: "tel: 0" - error: "This app is ...
1
vote
0
answers
32
views
White AppIcon displayed in Xcode 7 Project on simulator and on device
As you can see even though I have added the AppIcons correctly to my Xcode7 project, I can see only white app icon. It is not default blank app icon. It is just white app. How can I fix this ? I have ...
1
vote
4
answers
107
views
Redirection for detailsVC is not working on click of UITableView's Cell in Xcode 7
I'm trying to make a simple iOS app by following this (https://www.appcoda.com/use-storyboards-to-build-navigation-controller-and-table-view/) tutorial but when I try to click on the listed items, I ...
0
votes
1
answer
139
views
Load page into webview swift 2 from java class
I am developing an App for the iPhone using Xwebview which enables me to download a page then interact with the javascript on the downloaded page.
All works, but if the internet connection drops, a ...
0
votes
1
answer
383
views
show phone case in iphone simulator
I'm using xCode7.3 and I need to stay with it. I cannot expand it with mouse dragging.
How can I got phone case like
Now I got something like :
3
votes
1
answer
2k
views
Xcodebuild test hangs indefinitely without error
Xcodebuild hangs indefinitely in Jenkins. But same setup works properly in local machine.
(Xcode 7.3.1, OS X 10.11.6)
Command executed (After clearing DerivedData & Clean)
xcodebuild -scheme ...
1
vote
0
answers
28
views
Keyboard equivalent for UIButton
Xcode newbie: I'm trying to create a keyboard equivalent (return key) for a UIButton. I've created an outlet for the button, and I've noted the following code from these pages -- [myButton ...
0
votes
0
answers
59
views
AutoSize Layout problems on new devices after update Xcode / Xamarin
I am currently trying to update an iOS app, that has been published 15 months ago.
We have been rejected from Apple because of Xam.Plugin.Connectivity not being up to date.
We updated Connectivity, ...
7
votes
3
answers
4k
views
Does Xcode 7.3.1 run on macOS High Sierra (10.13)?
Although I know that this Xcode version is quite old, my company's project still needs to use it and I didn't manage to make it ran properly on my company's mac.
Does anyone have faced this issue as ...
0
votes
1
answer
71
views
swift optional types what to do [duplicate]
Please help me to solve a small problem.
Im trying to parse string value to int, or I don't know how to say, I'm a newby in programming =) the problem is that Xcode rails on my code:
if let age: Int =...
0
votes
2
answers
462
views
iOS Swift 2 Twitter Login integration
I am trying to integrate Twitter login in my project. I am using Xcode7 and following Twitter login tutorial. But I am getting the error in AppDelegate value of type 'Twitter' has no member start. I ...
1
vote
1
answer
68
views
What is the swift 2 equivalent to the swift 3 "string contains" function? by npn.dev
Hello,
I would like to know what is the equivalent of Swift 3
mySong.contains
for Swift 2 on Xcode 7 (because I want to create an application for iPhone 4). Excuse me for my english because I am ...
6
votes
1
answer
115
views
UICollectionViewFlowLayout exception when executing XHR-Request in NativeScript
I tried to execute an POST-Request to a given API via Xcode 7. My error is:
the behavior of the UICollectionViewFlowLayout is not defined because:
the item height must be less than the height of ...
1
vote
2
answers
278
views
How to get the geolocation of video chosed through uiimagepickercontroller
I am trying to get the geolocation of the image and video though PHAssets, image location is being fetched through.
PHAsset.fetchAssetsWithALAssetURLs([imageUrl], options: opts).
When i used the ...
1
vote
0
answers
165
views
Xcode crash after adding run script
So, here is a problem with crashlytics run script the Xcode 7.x crashes when I add the run script and wants to go any other tab or file.
But there is no problem when I run it on the Xcode 8.x
1
vote
1
answer
756
views
FIRAuth.auth() compiling error: "Cannot use optional chaining on non optional value 'FIRAuth'"
Cannot use optional chaining on non optional value 'FIRAuth'
I have tested every solutions, but always got the same error.
Even if i create a new project, when i'm using FIRAuth, i always got a ...
1
vote
0
answers
446
views
How to Customize the navigation bar for QLPreviewcontroller swift
I want to customize the navigation bar of QLPreviewcontroller but instead of many solutions for this none of them worked for me. If I am sub-classing the QLPreviewcontroller then I am not able to set ...
0
votes
1
answer
846
views
UIStackView rotation
I have a UIStackView that holds 3 UIButtons, A, B, and C, horizontally in that order. The UIStackView is added to a subview of UIViewController's view when device is in Landscape mode. But when the ...
0
votes
0
answers
175
views
Not able to upload pdf file to server
"Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start
with array or object and option to allow fragments not set" error is
coming when i try to upload pdf to the server.
Sending :
...
0
votes
2
answers
3k
views
Account not able to sign in Xcode?
I am new for developing the IOS application. so I have used xcode version 7.3.1 so I am not able to build the IOS 10 version. so xcode 7.3.1 not supported. so I trying to update but it can't able to ...
0
votes
1
answer
45
views
How to call a a different view by code in xcode 7
I am new to xcode 7 and it would be great if you could help me with something.
I have two ViewControllers and I would like to call ViewController2 from ViewController1. I need to do that by code. (I ...
1
vote
1
answer
2k
views
How to change label color inside table cell with swift 3?
I put label inside table cell. I changed the text color into "White" in Attributes inspector. I also changed the label background color into "Green".
When I run the app, the text color does not change ...
2
votes
1
answer
349
views
How to close a particular Xcode Project from terminal
I have tried using pkill Xcode to quit Xcode, but that quits all the Xcode projects that are open. I would like to close only a particular project in Xcode from terminal. Is there any way I can do it.
0
votes
1
answer
2k
views
Use of undeclared type '' Swift ERROR
My swift project suddenly stoped working. It throws up the errors:
Use of undeclared type 'GameScene'
and
Use of unresolved identifier 'GameScene'
My GameViewController file is:
class ...
0
votes
1
answer
362
views
Library not loaded in ios
I'm facing problem while running my app. Here is the log of app.
dyld: Library not loaded: @rpath/Some.framework/Some
Referenced from:
/var/containers/Bundle/Application/291BEF2B-BA81-4864-AB26-...
0
votes
1
answer
782
views
Swift zoom in on user's location
I am trying to figure out how to zoom in to the user's location in Swift 2.1. I have searched through the world of the internet but was unable to find a solution. Thank you to Renier Melian for ...
-3
votes
1
answer
48
views
Button is not touchable and Action is Not calling
I have a main view-->Subview-->ScrollView
I am displaying data in scrollview dynamically. Everything is good, but the problem is I am not able to tap on that button.
I have a taken a button through ...
0
votes
2
answers
10k
views
How to Auto Sliding Images with collectionView
I want to create a slideshow with UICollectionView. Now I've created a collection view and also a custom cell. I am showing all the images, but not auto scrolling. So I want, when the view controller ...
0
votes
2
answers
79
views
.mm file works if built on Xcode 7 but not on Xcode 8
I'm calling a function from a compiled C library from a 3rd party developer which i cannot divulge. The problem is that function returns an error when the app is built using Xcode 8, but works ok when ...
0
votes
1
answer
916
views
Custom Collectionview under each tableview rows
I am new in objective c. I want to create a layout design like android app store. Which means, i have a tableview and each row of tableview has a collectionview, and one more thing, i am using xcode7 ...
0
votes
1
answer
271
views
XCode 7.3 Splash screen Localization
How do i add splash screen for multiple languages that is based on users language of the phone ? That is if the user is danish then a danish splash screen if the user is english then english splash ...
0
votes
0
answers
733
views
AdMob Ad not displaying and crashing ios
i am trying to display a native express ad on a view controller, but when i navigate to that view controller the app crashes with an uncaught exception. The ad unit id is also correctly taken from ad ...