Path to VersionInfo.plist from app bundle - objective-c

I am currently working on CoreData, but I am getting some errors. I have tried all the solutions stated on StackOverflow, except for one:
Make sure the NSManagedObjectModel_CurrentVersionName is correct.
There are posts of people suggesting going to app bundle -> coreData.momd -> VersionInfo.plist to do the checking.
However, I cannot even find where my app bundle is. I can find my build folder with intermediates and products. However, nothing in those folders direct me to the app bundle.
Any help or suggestion is greatly appreciated.
Thanks.

You can find the currently selected version by selecting the .cxdatamodeld file in the Project Navigator pane on the left of the screen. Then, in the Utilities pane on the right of the screen select the File Inspector and under Versioned Core Data Model is the selection for "Current". This should show your current data model.

Open terminal and type the following command:
find / -name "VersionInfo.plist"
Mine is in "./Users/blossomwoo/Library/Application Support/iPhone Simulator/6.1/Applications/DB103D5D-9FFA-4E95-9715-944E8E339FCB/.app/DataModel.momd/"

Related

Intellij "Find in Path" only has results for `Directory` but not Project, Module or Scope

As shown in the screenshot the current file has multiple instances of splice. However the Find in Path dialog does not find even those ones - let alone the many instances in other project files.
I also tried the Module and Scope : none find anything. However the Directory has the following:
So What is going on with the In Project, Module and Scope options?
Thanks to the suggestion by #Andrey this is now being tracked at https://youtrack.jetbrains.com/issue/IDEA-244685 .

I am trying to bundle the project but couldn't get successful result

This is the pixel union theme. I am trying to bundle the project using "stencil bundle" but I can't get the successful result. The error is occurring that the following templates are missing but I saw the original theme and found that there is not available the products folder in the original theme.
Please help me.
You should have all three of these files in your template:
components/products/ratings.html
components/products/price.html
components/common/login-for-pricing.html
Did you delete them by chance? They are certainly in Cornerstone.

Xcode 5 invalid image path error

Im relatively new to programming and am just in the process of uploading my first app to the app store however i am getting the following error message which i just can't figure out / fix. I have looked everywhere online for a solution but as yet, no luck. Please can someone help? I am using Xcode 5:
Error:
ERROR ITMS-9000: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIcons': 'AppIcon40x40'" at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
This really doesn't mean anything to me as i have tried all the usual asset catalogue stuff / looked at my p-list.
You need an App Icon.
If you created the project in Xcode 5 then there should be a catalogue called Images.xcassets where you should place the icons of the correct sizes for your app.
I have added a screenshot of my app as an example of what I am talking about:
I saw the same error. First I thought that the images where not correct (I found one with 144 dpi), but the error showed up again.
Just search for the exact name "AppIcon40x40" in the whole project using Shift+Cmd+F. I have seen it referenced in a plist file under another key. There you have to change the names to the appropriate ones.

Menu Items are not getting displayed

I implemented WL.OptionsMenu in android environment as specified in Worklight APIs(android/js/mainApp.js). If menu option is clicked, I've given a callback function . Its working fine if the callback resides in the same file. But the implementation of that callback is resided in android/native/common/js/mainApp.js file. Hence, its not showing the menuOptions in android mobile. How to solve this problem?
Edit your question with the contents of mainApp.js
There is no such path, in Worklight, as android/native/common/js/mainApp.js.
Perhaps you mean android/native/assets/www/default/common/js/mainApp.js, but then again, it is exactly the same as android/js/mainApp.js.
The only difference is that android/native/assets/www/default/common/js/mainApp.js is created after you build your application.
There is no reason why it should not work.
Again, edit your question with the contents of mainApp.js and the steps you have taken from creating the project, to running it in your device/emulator.

Offline application in sencha touch 2 not working

I am trying to to build an offline application in sencha touch 2 using mvc structure. In offline mode page displayed is blank. I checked developer tool and there was an error as
"Failed to load resource http://ipaddress/AppName/app/view/LoginViewport.js?_dc=1334316337812 "
We can also see in the above error, there is some data appended to "LoginViewPort.js", and that might be the problem.
Please help.
When I get that error, it means I didn't place the file in the correct location Sencha Touch is expecting. It is perhaps you made the directory VIEWS and it is looking in VIEW for the information? Did you define it like so?
Ext.application({
name: 'MyApp',
views: ['LoginViewport'],
...
Ext.define('MyApp.view.LoginViewport', {
...
I believe this would mean it would look in the view folder for the file LoginViewport.js.
I had the same problem. Even though sencha can find the file in the view folder. It ignores it for some reason. If you rename the folder to views it should work. At least that's what it did in my project.
It works ones we go for production. Because all the mvc structure files will be copied into one file.