Locating .Storedata file in Mac - iphone

I have build an iPhone project on my IOS device. I used core data for storing some datas. When i build, it is woking. I just need to locate this .storedata file and when i traced, the location is /var/mobile/Applications/211B3C9E-82B3-4304-90D2-EE5E4337D9F1/Documents/MyProject.storedata. I opened all the hidden files in the machine but i am unable to locate the specified path for the device. I could locate the file when i build it in simulator. Can anyone suggest me some way to locate this file?

If you're running it on the device then you're creating the database on the device. You need an iPhone file explorer (I use iFunBox).

Related

Generate .ipa file in Xcode 7.2

I had created an iOS application successfully. Now I want to generate an executable file (.ipa).
I know the following steps:
Product
archive
save ipa file
But my archive is disabled. Any ideas?
1.You need to connect to a real device.
2.Build not for emulator, build for real device.
3.Now you can see "archive"

Firefox SQLite Manager cannot access Xcode iPhone simulator SQLite DB Directory

I have a question regarding opening SQLite database from SQLite Manager extention of Firefox. I use SQLite database for my iOS app development and always use SQLite Manager to load the database for the app runs on iPhone emulator (The file is under /users/myUserName/Library/Application Support/iPhone Simulator/5.1/MyAppGUID/Documents directory ). It worked fine since last week.
I suddenly found if I choose "Connect Database" from SQLite Manager menu, I couldn't find the /users/myUserName/Library directory anymore. I can still access the directory from Finder, I can still see the database file from Finder, and if I copy the db file to another directory, I can open it with SQLite Manager for no problem. However it is quite annoying that I couldn't open the database directly.
Anybody got the same problem before?
Thanks for any help.
Could this be related to the fact that the library folder is hidden by default on mac os Lion ? not sure if thats what your using but if so check out:
http://hints.macworld.com/article.php?story=20110704093233123
I used this tip to reveal the hidden files in OS X
http://mac.tutsplus.com/tutorials/os-x/quick-tip-revealing-hidden-files-in-os-x/
Then I added the hidden Library directory to my Finder Favorites and when I go into SQLite Manager in Firefox, I can drill down to the app's sqlite file.

Cannot find location of realease file

I've recently upgraded my XCode to 4.3.2 and also my OS to Lion so that my apps can work with IOS 5.1 plus. I'm now trying to upgrade a couple of old apps and I can't find where the app files are to upload to Apple.
The strange thing is that I can use Terminal to locate where my DerivedData folder is but when I try to use Finder the Library folder does not exist. Is there anything I am missing because Xcode tells me the path to me build file is /Users/SC/Library/Developer/XCode/DerivedData/MyAppFolder/... but I cannot find it when using Finder. When I use Finder the Library folder does not appear even though it shows up when I use Terminal.
After you build and archive in XCode 4, you can go to Window>Organizer>Archives to view all your builds. You can validate and submit any build from there or right click and choose 'Show in Finder' to locate the app.
Ps. See my comment regarding the user library in Lion

Database path not been used by application - Logic issue

I have created a sqlite database. and dragged it on to my projects resource folder.
In my project i am accessing a sqlite file from
/Users/user12/Library/Application Support/iPhone Simulator/4.3.2/Applications/1F219005-A4ED-4794-81FC-65EEF8D243EF/Documents/db.sqlite
I am not using the sqlite file that was added to the project. and my project is accessing the DB file from the above location.
So, now when i try to launch my application from a different mac i am unable to launch the application because the DB is not found in that path. So how could i solve this ?
note: i used FMDB.
My final objective is to give this application to my client and since he will be running the app on his iPhone, he should be able to access the sqlite file with no issue. So what changes should i make ?
Surely xcode in other machine will have a different path. Try to place the sqlite file at the app path created by xcode on the new machine.
EDIT:
To do what you've said in your comment i suggest to create an ad-hoc certificate. Then use xcode to create your archive.
But the path of your sqlite file should be in your main bundle.
ps: You need the UDIDs of your client iPhones to add the devices to the portal.

iPhone submission - The binary you uploaded was invalid

Having gone through all the steps of submitting my app to the iStore by the book (and other manuals around), I get a 'not so funny' response after uploading my binary:
'The binary you uploaded was invalid. Fat binaries require a MinimumOSVersion of at least 3.0'
Now, I set the device deplyment to be 2.2.1 and the Base SDK the same. My build SDK is 3.0 and I'm pretty sure I do not use anything which is in 3.0 but not in the 2.2.1 API (I built and ran on both and tested).
It might be nothing, or not - I do use XML parsing and some XML files in my application, again, I'm not even sure that it is connected ot the problem.
If you have any experience with that or have a clue it's be great,
Check the Info.plist of the binary that is produced. The file should have the following setting somewhere in it:
MinimumOSVersion XYZ
...where XYZ is the Deployment Target OS version you are trying to build for.
I have noticed in my own binaries that this line does not exist for binaries built for the iPhone Simulator. Given that, my suspicion is that you are trying to upload a binary built for the simulator instead of the device. Try changing the Active SDK to "iPhone Device 2.2.1" and submitting that binary to the App Store.
I had a similar issue and it was due to me zipping the file up (or trying to upload it) from a PC. I used 'compress' on the mac and uploaded using firefox for mac os and it worked fine.
This window becomes visible upon clicking on the root project name in the Xcode directory /groups tree, where you can change the:
! Deployment Target OS 8.1 and SDK declarations
Also, under the General tab is the Asset Catalog where the Icon migration and Launch screen file conversion takes place.