iPhone Simulator document directory not found in iOS 8 - xcode6

I am using OS X Yosemite ver 10.10, xcode Version 6.1 (6A1052d), iPhone simulator iOS 8.1 (12B411). I can't find the Developer folder in Library. i
NSLog(#"Simualtor Directory %#",[[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject]);
Simualtor Directory file:///Users/gayathiridevi/Library/Developer/CoreSimulator/Devices/0016A89B-10C4-4BAC-B14B-5731640D3D08/data/Containers/Data/Application/4C7CB382-E3E9-45CB-82F3-9C9F060D62DA/Documents/
Sqlite db are in that iPhone simulator directory. How do i find the folder....?

Go to home folder (Press CMD+SHIFT+H to enter your Home folder in Finder), right click and select Show view options and check the Show Library folder option.
In that Library folder has Developer folder....

You can go with the link to check where your simulator folder is located.
Link-Find Simulator
Thanks

Related

Installing Xcode 8 on pre-installed Xcode 7.3.1 [Using multiple version]

Hi I am currently using Xcode 7.3.1 on macOS Sierra. Due to the issue ERROR ITMS 90167. I can't upload my archive using Xcode 7.3.1. So, It's time to upgrade Xcode 8.
But, unfortunately, I can't use Xcode 8 to Develop application due to migration problem on my previous project which was big. All I want is built in Application Loader from Xcode 8. And I need to do some migration on Xcode 8 while I am developing my current app from 7.3.1
And I did download Xcode 8 from Developer Program => Xcode8.xip
Before I install this version, I changed my previous Xcode 7.3.1 to
//Application/Xcode7.3.1.app
inorder to protect overwriting this version.
When I paste Xcode 8(Xcode.app) which i extract from .xip to Application Folder, I open it after its done installing after passing "Installing Component".
Then I open it,it worked (Xcode.app) = Xcode 8.
Then when I open my 7.3.1(Xcode7.3.1.app), it stop working means can't open and show me crash message every time I opened it until I changed my Xcode 8 app title to
//Application/Xcode8.app
So, there will be two Xcode Version on Application Folder. Then when I open Xcode 8(Xcode8.app), it won't let me open and show me error alert again.But, Xcode 7.3.1(Xcode7.3.1.app) come back to live and prompt me to install .git Command Line Tools then I can work back using Xcode 7.3.1.
But then, my problem is I can't open or use Xcode 8 anymore even I change my Xcode app name to different name.Was it "Command Line Tools" causing the problem?
I really need solution to solve this case because I want to use both Xcode Version on my mac.Any Help?
Download Xcode DMG files. I have Xcode 7.3.1 in my Applications folder and Xcode 8.0 in my Desktop folder. I use both Xcode very often.
If you already have two Xcode delete one, delete Xcode 8.0. Or delete both of them if you want. And you can download Xcode 8.0 from developer portal or update to macOS Sierra and download the AppStore version of Xcode 8.0. But then you can't download Xcode 7.3.1, you will not get the DMG, I don't think that you can download the DMG from developer portal for Xcode 7.3.1.
So in my opinion the best option is that. delete Xcode 8.0 from your Applications folder. And download Xcode 8.0 DMG from developer portal and put in some other folder not in Applications folder.
I have both the versions of Xcode 7.3 and 8.0. I have installed Xcode 8.0 from dmg file without changing anything in the applications folder for Xcode 7.3.1.
After installation of Xcode 8.0, I observed application folder has only one Xcode version so to open projects in different version I do something like in the image
This works just fine.

Could not build module GoogleMobileAds on ios 6.1

I am trying to create a demo ios project based on https://developers.google.com/mobile-ads-sdk/docs/admob/ios/quick-start
Everything works if i choose iphone 5 simulator to build and run the app, but when i try building the project for my ipod touch 4g (ios 6.1), it doesn't build and gives error "Could not build module GoogleMobileAds"
i am importing the mobile as :
#import GoogleMobileAds;
I am using GoogleMobileAds SDK version 7.2.1 .
Looking for the solution.
Thanks!
I have done following things it works fine.
goto build settings and say yes to always search user path.
then put your google mobile ads local path on frame work search path.

XCODE can find .app file

I am working on my first iOS app. It works and build correctly but when I wanna to find .app file I cant find it. My appname.app is red and I cant "show in finder". Where can be the problem that I havent developer account?
Thank you for replies.
Assuming you run this app in the simulator from XCode:
~/Library/Application Support/iPhone Simulator/7.1 (or whatever OS you run it out of XCode)/Applications
In here you will find some folders with random names. One of these is your app.
1) Set your build for "iOS Device" (not simulator).
2) Product/Build.
Then you will see the .app file created.

Worklight 6.1 preview is not loading WLJQ

I've tried the solution in this page IBM Worklight 6.1 - Content of HTML file not displayed and it didn't work for me.
Try deleting the wlBuildResources folder.
See my answer here: IBM Worklight 6.1 - Failed re-generating the iPhone native folder
Close Eclipse
Locate your temp folder (Windows, OS X)
Delete the wlBuildResources folder
Open Eclipse
Re-build

How to build and archive iOS application?

How to build and archive or archive only iOS application?
I want to archive to .ipa file but cannot select "Product>Archive" or "Product>Build for>Build for Archive" menu (is disabled). I am using Xcode 4.1 on OS Lion. Have any special configuration to building with archive option I don't known?
Thanks in advance.
Please select device from target then simulator as -