I see my device in organizer with a green dot. But I can't run my project, because there is no iOS 6 device in destination menu.
With ios7 everything is ok.
You can use the iOS 6 SDK on XCode 5.
For that you need to have XCode 4 and XCode 5 on your Mac.
1/ In terminal :
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
2/ Create a symbolic link in this folder to the older SDK
for example for me :
sudo ln -s /Applications/Xcode4/Xcode4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk ./iPhoneOS6.1.sdk
3/ Go to the Project settings and chose your SDK
4/ Do only that for iPhoneOS. The support for the simulator need to be done from the XCode Preference menu
++
Related
When opening the Device file explorer window in Android Studio Preview 3, I don't see the device's files (There is a message "Nothing to show").
I searched this topic a lot but couldn't find anything that is relevant to this issue.
I'm using my test device:
Android Galaxy S5 running Android OS 6 (API 23) - Rooted
The specific build of Android Studio I'm using is:
Android Studio 3.0 Beta 6
Build #AI-171.4333198, built on September 13, 2017
JRE: 1.8.0_152-release-915-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Any idea's how to solve this issue?
After struggling with this for a day, the answer for me was associated with disabling SuperUser permissions for the ADB shell on my Android Device.
If you have rooted your device and are using an app like SuperSU, try disabling the SU permission for ADB shell in the apps view list.
First disconnect your Android device from the computer running Android Studio
On your Android device open SuperSU and select the apps tab.
Click on ADB shell and select Access:'deny'
Reconnect your device to your dev computer using a USB cable
In Android Studio open the "Device File Explorer".
You should now see a list of files on the device, including files in /data/data/ and its subfolders
You would think that having SU permissions would be a good thing: but in this case, no.
Disable ADB shell's SU permissions in SuperSU
AS file explorer will execute su 0 sh -c 'ls -l /' to list the files. For unknown reason, SuperSu remove the single quotes and the actual command are su 0 sh -c ls -l /. In such case, the -l will not work. AS file explorer may have some problem to parse the output. So there is nothing to show.
You can check the log of AS to get such behavior. Open the log from: help -> show log in explorer
I'm getting this following error after I ran my app on my own ios device.
No target specified for emulator. Deploying to iPhone-6 simulator
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=159):
Invalid device state
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=159):
Invalid device state
ENOENT, no such file or directory '/Users/cauealmeida/Library/Logs/CoreSimulator/5C6DA43E-3993-4260-87EE-73FEB27DE181/system.log'
Error code 1 for command: ios-sim with args: launch,/Users/cauealmeida/Documents/jobs/dev/ionic-maptest/map-test/platforms/ios/build/emulator/map-test.app,--devicetypeid,com.apple.CoreSimulator.SimDeviceType.iPhone-6,--stderr,/Users/cauealmeida/Documents/jobs/dev/ionic-maptest/map-test/platforms/ios/cordova/console.log,--stdout,/Users/cauealmeida/Documents/jobs/dev/ionic-maptest/map-test/platforms/ios/cordova/console.log,--exit
Error: /Users/cauealmeida/Documents/jobs/dev/ionic-maptest/map-test/platforms/ios/cordova/run: Command failed with exit code 2
I've tried with ionic emulate ios -cls from different projects and the same error is shown.
What am I missing?
Here are the steps you can use to correct this issue:
1) Empty the 'platforms' folder in your Ionic project
2) Re-run ionic platform add ios, ionic build ios, and ionic emulate ios without sudo
3) Still getting a permissions error, make sure all the files in your user's home folder actually belong to that user by running
sudo chown -R username /Users/username
We fixed this using the SO answer here, which was just to Reset Content and Settings in the Simulator menu.
You need to download ios simulator.
Go to xcode and download ios 9 or other simulator.
you also need to install ios-sim using your terminal.
sudo npm install -g ios-sim
also check and confirmed your device is connected properly.
connected device you see in xcode window
I installed resently Xcode 5 with iOS 7 SDK on my Mac OS 10.8.
the problem is i can't any more run my iOS app from Xcode 4.6, here's the errors:
- when I run the app from Xcode, after build I have this message:
"can't find the existing path [myproject.app path]"
and the file exist in the specified path.
- when I generate the ipa and install it by iTune I have this message:
"not supported device".
my app works fine before installing the new Xcode (5 + iOS 7 SDK)
any one have a solution?
Thanks
Rachid
Easy solution!
Xcode 5 like any previous change some formats. To my knowledge the most common issues are:
1. changing the Xib/Storyboard file, You can check my answer here for solution: How do I fix a project opened in xcode5 dp3 by accident?
It can change the framework path format (you should get an error when compiling), To solve this check my answer here: sentestingkit/sentestingkit.h' file not found on Xcode 4.6.x
If those both doesn't work for you please add more details and I would love to help.
I've been looking into Ubuntu Touch.
So I installed ubuntu on a Nexus 10 following the instructions here
I built the sample app following the instructions here
So now I have a device running ubuntu touch and an application, how do I put the application on the device?
You can use Qt Creator: Connect your Ubuntu Touch Device through usb open your project and simply press Ctrl+F12.
This works only if you have once installed ssh-server on the device.
Alternatively you can do it manually. Copy the necessary files (*.qml and *.desktop) to the device and start the application via ssh
qmlscene --desktop_file_hint=/usr/share/applications/qmlscene.desktop YourApp.qml
Source
Remember, this is all beta and if you are not a developer then you won't have much use for Ubuntu Touch at this stage. Eventually, Ubuntu Touch will have its own app store where it will be much easier to download apps and install them on your device.
If you are using the sdk provided by Ubuntu, then all you have to do is go:
Build -> Ubuntu Touch -> Install Application on Device
This will actually install the App instead of just running it. Now you can bring your prototypes with you =)
After installing the simulator I am not able to follow the instructions found here. I installed BlackBerry 10 Dev Alpha B Simulator. The page asks to run "BlackBerry10Simulator-BB10_ n_nn" but I cannot find any thing like that in my installation directory:
ls -1 BlackBerry10Simulator-BB10_0_10-261/
BlackBerry10Simulator-BB10_0_10.vmwarevm
bbm
controllers
install
I found "runBB10Simulator.sh" in the bbm directory but running it does not actually run a simulator, I am not sure what it does.
$ls -1 BlackBerry10Simulator-BB10_0_10-261/bbm
KeyNego.SIMULATOR.keystore
README.txt
Servers
bin
classpath
licenses
runBB10Simulator.sh
shutdown.sh
Can anyone help?
The simulator requires VMWare player, a free download.
http://www.vmware.com/products/player/
Cheers
EDIT:
Mac OS requires http://www.vmware.com/products/fusion/overview.html which is not free. Either bootcamp windows, install a linux distro or virtualize either to virtualize the emulator... (XZibit meme someone?) which is likely not going to work.
MAC OS requires VMFusion 30 day trial for installing the BB 10 simulator.
#russoue:- Once you install VMware Fusion Just open the **BlackBerry10Simulator-BB10_0_10.vmwarevm** with VMware Fusion and you are done. it will take some 5 min to load simulator.