Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Currently I am working on video uploading app..my problem is that ,when I try to search simulator path in spotlight(I've also try this manually),I've got only iPhoneSimulator.platform file but in this file there are no any folders or path like 5.0/Media/DCIM etc.
If I Reset Contents and Settings from iOS Simulator menu. I found above path in my trash folder. I think it should not be hidden at all.
Any idea..?
XCODE 4.2
THANKS.
When You are working on Simulator, you Machine OS runs Behind it. :)
This is the Path where you can Find every thing Related to your Device Installation or apps Deployed by you on the Simulator :
/Users/"Your Home NAme "/Library/Application Support/iPhone Simulator/Which version you use(4.3.2 "this is mine")/Applications
Hope you find your way now.. if any problem Reply plz.. :)
you want to look in "/Users/yourusername/Library/Application Support/iPhone Simulator/". in there you'll find one or more directories corresponding to the version of iOS used. in your case you should have a "5.0" directory. in there you'll find a bunch of dirs. if you're storing data in your application's Documents directory, go to "Applications/your app's ID/Documents".
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed yesterday.
Improve this question
I am creating an IPA for work. Xcode doesn’t get a completely fresh/clean copy of the code. I’m getting behavior that I had just changed. I recently learned about option/File/SaveAll, and I also clean the build folder before I start the archive process. What am I missing?
When I turn it over for testing, my tester is getting behaviors I didn’t get, but after the laptop has been rebooted, I will get what the tester gets. It’s like there are residuals or ???
Additional info: Yes, I am making a new IPA. In the app, in Xcode, I am selecting the Product menu, running a clean of the build folder. Then selecting Product> Archive. The app is for an iPad and it is selected and attached via cable. I select the Enterprise option, and let Apple do all the signing. Export the IPA to the shared drive.
While testing the app, I get the setSelected, setHighlighted behavior in a tableView. After the IPA is created, the app acts like those changes were not made, and reverts to the behavior logic from before the changes. Matt asked if I was deleting DerivedData. PLease explain? Are there other steps that I am missing?
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have been using testflight to update my (iphone) app. I want to go back to an earlier build. Is there a way I can download an old build from testflight and access the contents (I need access to a plist file).
No, that's not possible. You should really use source control. Xcode will let you set up a local git repository really quickly if nothing else.
Update: I have to correct myself. After searching around, I found you could use this answer
https://stackoverflow.com/a/10223230/1415038
to reverse engineer the IPA after you download it from TestFlight. This will give you access to the .plist file.
This answer is deprecated with the shutdown of Testflight.
You can access a plist file, but you can not access source code. I've updated the question title to reflect what you're trying to do. :)
From your list of apps, click on the one you'd like to download, then click on the build. On the left, click "Permissions", scroll down, and click the link under "Share This Build". On that page, click "download the IPA" under manual installation.
An IPA file is actually a ZIP archive, so change the file extension and unzip it. Inside the Payload directory you'll find a App file. Right click on it and select "Show Package Contents". Here you have all the resources being used by the app, including your plist.
Note that you can not access the source code in this manner because it is compiled into ARM machine code.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Maybe you all know that .app bundle is easily accessible for reading via such tools like iExplorer (surpirise for those who thought only iTunes File Sharing allows to access data on iPhone). Maybe you've also read iOS Programming Guide, section entitled 'Installing App-Specific Data Files as First Launch'. Related paragraph estates:
"... Because iOs apps are code signed, modifying files inside your bundle invalidates your app's signature and prevents your app from launching in the future. ..."
That's obivously false, at least to some point.
I've tried to modify several files within SEVERAL free third-party apps purchased from AppStore and sucessfully modified content of several files. Voala, app launched without any problem. The thing is, that I've used iExplorer mentioned above, no hacking, cracking, jail-breaking. Just a development-enabled device, and published, reviewed apps.
What should I do?
The code signing is only verified when the app is installed on the device through iTunes, Xcode, the iPhone Configuration Utility, etc. So the wording of the programming guide is a little misleading.
This probably comes down to performance - there are some very large apps out there and having to verify the checksum of all the application's resources every time it is launched would take too long.
And the point of code signing is not really to prevent tampering, but to detect tampering. Or more correctly, it's simply a way to state that you built this specific binary with these specific resources. The attacker could completely remove the code signing if they wanted.
So there will always be ways to modify an application's resources or even code through debugging, etc. You can't really protect against this.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
How to view the data which is present in the sqlite file in an application running in iphone , like we use mysql work bench to view the contents of the database
If you want to view your database when running on Simulator it is located at the following location
user/Library/Application Support/iPhone Simulator/version of SDK(4.2eg)/Applications/4AF938D6-E981-4971-A588-3424B64E7EE7(eg)/Documents/yourdatabase.sqlite
If you want to view the database in your device then you can use a software like iExplorer.
Cheers
Edit : The location of sqlite file has changed.
It currently resides in :
/User/Library/Application Support/iPhone Simulator/version of SDK(eg-7.0)/Applications/4AF938D6-E981-4971-A588-3424B64E7EE7(eg)/Library/Application Support/app_name/yourdatabase.sqlite
Edit : The location has changed again. It now resides in:
/User/Library/Developer/CoreSimulator/Devices/789A1317-6C55-4615-A72E-65C824D8C6B9(eg)/data/Containers/Data/Application/0470F5FC-0043-46B7-A21C-A436A56ED714(eg)/Documents/yourdatabase.extension
The Firefox extension SQLite Manager is good and free. Another good, free Mac option is SQLite Database Browser.
If you want to see data base while app is running in simulator
Open finder
open Go in toolbar
Then Press and hold command+option you can see Library option
then process like this
Library/Developer/CoreSimulator/Devices/8FA9F307-45DC-48EC-89ED-E4BDC34CB628/data/Containers/Data/Application/B6105584-49BF-4C0C-BC72-C97FA9B1C194/Documents/database.db
Grabbing a database in live mode (meaning an apps-live-database on an iphone) you can use the iExplorer for downloading the .sqlite file to your computer and explore it with e.g. MesaSQLite!
Thank you so much for pointing me into the right direction here!
These locations depend on the device you're using in the simulator, so it makes no sense to copy a specific folder as the answer...
The more general answer about how to figure out the path to the actual database file:
On the dock, right click on Finder, select Go To Folder
Paste in the following, and click Go:
~/Library/Developer/CoreSimulator/Devices
On the top right corner of the Finder window search for the database name you are looking for, then make sure the Search location is set to "Devices" folder, not the whole "This Mac".
The db file will show up and if you select it, it will give you the full path! To browse the database content I use this tool: sqlitebrowser
If you're comfortable using Xcode plugins, NCSimulatorPlugin makes it trivial to jump right to your app from Xcode.
Instead of choosing Go To Documents as shown above, choose Go To Application.
Ctrl-click on the app and choose Show Package Contents.
Done!
The solutions involving simulator do work but sometimes you needed to explore the database on a physical device.
If you want to view your sqlite database when running on a device connected to your Mac you'll first need to mount the application files on your mac. You can use iExplorer for that. There is a free demo I used for testing but paid $40 in end:
iexplorer website
Once you mount the apps files you can explore the database using DB browser for sqlite: DB browser for sqlite website. Its not as polished as mysql workbench but its free and gets the job done.
The location of sqlite file (Simulator):
/Users/myUser/Library/Developer/CoreSimulator/Devices/032D9DFB-FBD4-4204-B137-945F1A02FDED(eg)/data/Containers/Data/Application/C10BDAF7-25E2-42CC-A1BE-C5CC04C7567D(eg)**/Library/LocalDatabase**
I use the DB Browser for SQLite to view the database: http://sqlitebrowser.org/
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am working for Bentley leathers and I we have a password calculator (.exe) and I am wondering if I could put it on my iPhone or the compagny BlackBerry so that way it would be easier then to have a ton of paper with me.
No since the operating systems are not windows, why don't you create a password protected website with the same functionality so that you can access that from any device with a browser
Assuming you mean a Windows .exe, no you can't, the iPhone and Blackberry apps run off their own operating systems.
I think yes on the iPhone, but it requires it to be jailbroken.
There used to be a program called iDos of Dosbox (i thing Dosbox) on the app store, It was removed because you could upload, download and run exe files directly from the app (to get the exe's you used that itunes file sharing thing used in those flash drive apps).
They released it as Idos for about a day of 2 but than got deleted (i have no idea why im talking about idos).
Final Answer...
in the new idos (again deleted), they got rid of the ability to run exe's, but if you got the first version of it called "DOSBOX" on cydia, you could probally run some simple exe's on your iPhone (you could also use installous or use app sync to get a cracked .ipa file of Dosbox.
NOTE: I have not tested this! all i know is that when i saw the newer version on dosbox (Idos) on the top 25 list in the app store, i got it. I google searched on how to get more games for it and all these sites had all this "RETURN OD DOSBOX!!!" stuff.
I then read you could us exe's on the original.
Get Portable .NET from http://ininjas.com/repo/
It lets you run Windows .NET exe files from within mobileterminal. To run:
clrwrap program.exe
To compile C# files:
cscc -o output.exe code.cs
Original post (by me):
http://ininjas.com/forum/index.php?topic=84.0
I suppose that password calculator is a software to generate session passwords for the intranet/vpn/whatever.
You can't launch it on Blackberry or on iPhone but your company can order development of this tool for someone and after that distribute it inside the company. I know at least one company who already did it for iPhone. You can order this development. For sure a lot of people will be glad to do that (bu you should go to the Jobs section with this offers). But developer will need a specification with description of password generation.