When I run a iOS App on my device , This error will appear
'CoreVideo/CoreVideo.h' file not found
not matter what project even though create a new project , once run the app on my device this error will appear
but the Simulator will be OK~
and I can't find some frameworks in
Target--Build Phase--Link Binary With Librares--add
like AVFoundation.framework AudioToolBox.framework
Should i reinstall the xcode on my mac~???
Make certain you've added the CoreVideo framework to your project.
Here's how I do it in my own projects:
If you need help figuring out where it is (it's hidden within the XCode app package itself), let me know and I can show you.
Also, make certain "Target Membership" is checked for CoreVideo in the File Inspector of your project. It looks like this:
Related
ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '167x167' pixels, in .png format for iOS versions supporting iPad Pro."
Hi got the above message when try to submit built IPA file, using Mac's Application Loader..
Can anybody advice how to overcome this? I try to unzip that IPA file and found there is no 167x167 icon file for ipad. I try to create one and zip it back, but I got another error said "Invalid Signature" when try to resubmit using that "cheat" ipa file... should this 167x167 ipad icon file build by the codenameone build server as well?
Kindly advice.
You can't modify the IPA after it's generated. This will break the signature. The icon also needs to be listed in a couple of places for it to work properly.
I've added this new 167px icon to the icon list so with the update tomorrow (Feb 9th 2018) it should "just work" for new builds.
Also notice that at this time only the standard build works properly for submission and we haven't yet tested the new 9.2 builds. It's also important you use Application Loader for upload and not xcode as that might break things.
I just created a basic sencha app by
sencha generate app --name AndroidDemo --path ../demo
and I viewed it in browser and everything is perfect.
I then followed the instructions here: http://www.sencha.com/blog/android-setup-for-sencha-touch/
and compiled the app with Sencha Cmd and when the emulator opens I only get a blue loading screen.
I also tried compiling/building the app with phonegap on phonegap build site and the build finishes successfully and after loading the app in my andoid device, again I only see the loading page and it stays on this page and the app does not launch.
I'm completely clueless. Need your help friends.
Thanks,
In your app code may be miner syntax error or other error so while app run in emulator check log cat or other option run or app in chrome and check console log. Because loading screen display in case of error as my expression with this.
i'm having the exact same problem..
(currently on windows, btw)
while it's not exactly a solution,
a workaround that i did (out of desperation to see the rest of my app on the emulator):
is to just install it directly to the emulator using the "adb" command.
haven't tried this on a mac, but i'm guessing it's almost the same thing?
after building the app using "sencha" cmd, open cmd/terminal to the build directory.
-assuming you did not change the output location, the apk will be created in your
project root folder under this folder:
"build\native-package-mobile\MYAPPNAME\packager.json\"
make sure the emulator is already running
run the following in command/terminal at the folder where the apk is located:
adb install -r MYAPPNAME.apk
wait for awhile and it should say successfully installed.
run the app in the emulator and hopefully it will go beyond the loading screen.
I don't know why this issue is happening though.
(only started tinkering with android dev/sencha yesterday and it seems to be doing all in it's power to prevent me from running my app. haha)
please share if you find the correct fix for this :)
This usually happens when you build your version and you did not imbed all needed components.
For example, when you use ...
Ext.Image
... in your code.
While running without ...
Sencha app build xxx
... Sencha will grab the component from the touch/src components folder.
But at the time you build the app, it cannot reference to that folder any longer and Sencha will stall.
Please open the console and look out for a warning like this:
[WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.MessageBox';
consider adding 'Ext.MessageBox' explicitly as a require of the
corresponding class
You need to add these to the requires section of either App.js or a class where you use the item (here Ext.Messagebox).
Another way to find out what is happening is to run the build code inside the browser and look into the console (so instead of localhost/myapp/index.html you run localhost/myapp/build/{package}/{myapp}/index.html).
There is one other thing that might happen. It’s the scope of async operations.
Like this:
Ext.defer(function() {this.log(‘all good’);}, 500);
this is not the scope of your class.
You need to use:
Ext.defer(function() {this.log(‘all good’);}, 500, this);
Or you might even use ...
Ext.bind()
...to bind the scope to the function.
i am facing problem for last day i have seen many answers on stackoverflow and other sites but can't work for me to fix this issue . the error is when i creating releease build for apptore. and trying to uploading my app on appstore getting this error
iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv7 (-19033)
after doing lot of effort , i am not able to fix it.
Open project settings (Select project in project navigator)
Switch to Build Settings tab
Check these settings:
Architectures: should say Standard (armv7, armv7s) (This should be default option you can select from the list. If not, set it manually to $(ARCHS_STANDARD_32_BIT)
Valid architectures: armv7 armv7s Again, these should be default. If not, edit it manually (add those two values as the separate values in the list)
The above are valid settings of one of my apps in the AppStore. Should be OK for the following:
Base SDK: Latest iOS (iOS 6.1)
Deployment target: 5.0
Im not sure, but this could be the problem as it often is
I installed QTCreator and Ubuntu SDK as shown here.
When trying to run the code sample provided here, QTCreator tells me it can't find the Ubuntu.Components QML Module.
Notes:
The build-logs says:
file:///home/giladnaaman/Programming/Projects/CurrencyConverter/CurrencyConverter.qml:2 module "Ubuntu.Components" is not installed
But the directory /opt/qt5/imports/Ubuntu/Components
exists (and is full of files).
After adding importPaths: [ "/opt/qt5/imports" ] to the qmlproject file:
QML module does not contain information about components contained in plugins.
QMetaType::registerType: Binary compatibility break -- Type flags for 'QPaintBufferCacheEntry'[1024] don't match. Previously registered TypeFlags(0x103), now registering TypeFlags(0x3).
Do not add the importPaths property to the qmlproject.
Did you setup the QML Scene as your QML viewer?
In Qt Creator, go to Tools > Options…
Choose the External Tools tab, then in the pane select the Preview (qmlviewer) entry
On the Executable: field on the right, replace the contents with /opt/qt5/bin/qmlscene.
Optionally change the command name by double-clicking on the Preview (qmlviewer) entry from above. You can call it Preview (qmlscene).
Click on OK to save the changes.
you’ll be able to view your app through the Tools > External > Qt Quick > Preview (qmlscene)
The Ubuntu SDK is still using the older version of Qt Creator from QT4 it will not be able to locate the Ubuntu Components, and say the components are not found. But the QML Scene used for running the QML GUI will load it and run it without any problems.
To my iPhones app's XCode project I have added the following launch images:
Default~iphone.png
Default~iphone#2x.png
Default~iphone-568h#2x.png
On the iPhone4, iPhone4s and iPhone5 the correct launch image is shown.
Also XCode's project summary tells me that every thing is ok with the launch images.
But if I launch the app on my iPod4 then the iPhone5 splash screen (Default~iphone-568h#2x.png) and not the iPhone4 screen (Default~iphone.png) is shown. There is iOS6 installed on my iPod.
Any idea, what's wrong here?
The files above have wrong names. They should be:
Default~iphone.png
Default#2x~iphone.png
Default-568h#2x~iphone.png
But giving the files the right names is not enough. You should:
Look into the info.plist file of your app, that there are the right launch images set
The wrongly named image Default~iphone-568h#2x.png can remain in the application bundle, even if you delete and reinstall the app. Thus it can be that the changes above have no effect.
To prevent this I had to delete my app, clean and recompile my XCode project and reboot my device. After that everything worked fine.