Rebuilding expo bundle with a different slug - react-native

I changed the name of a React Native/Expo app and wanted to change the slug to go with it, but got the error "CombinedError: [GraphQL] Experience with name '#-----/newName' does not exist". Using the old slug, it still works. Is there any way to rebuild the app with a different slug?

Just had this same problem.
Check your app.json and look for the field expo.extra.eas.projectId and delete it.
Now try to run your build again, a new projectId will be generated.
This seems to have worked for me, hope it helps.

Related

can't extract react-native blank template for a new project

i'm trying to create a new project in react-native but I still can't because it ask me to choose a template for my project, when I choose blank template, it download it but it still can't extract it. it look like there's a problem with a file named 'zlib'. it's my first project in react-native and i'm new on it. please help me solve it! thanks.
Below is the screenshoot I got when execute the command 'create-react-native-app MoviesAndMe' in order to create a react-native app named 'MoviesAndMe'

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.

Path to VersionInfo.plist from app bundle

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/"

how begin with appcelerator for desktop (and use the API's)

I've a bit experience with qt+ and creating not so complex web pages, but I don't know how begin with titanium...when I run the default app this work...I can change the index.html like a web page...I can include javascript code and jquery too...very nice...but when I try run api functions I don't know how include these...all examples talk about iphone and a app.js file...I'm trying make a desktop app and don't appear any .js...I can create these but don't work
...in the docs I read things like these:
var win = Ti.UI.createWindow(); var view = Ti.UI.createView({backgroundColor:"red"}); win.add(view); win.open();
I don't know where I've put this code...I try put it inside a javascript inside the html (bad practice!) but it don't work...I put it inside a function onload but don't work neither.....there are any "convention" with the names for the files for this work?...I think this is like create a very dynamic web page but I don't know how work with the api....I see the example "kitchen something" but it wasn't so clear to mee...I see a examples like this:
http://mobile.tutsplus.com/tutorials/appcelerator/appcelerator-using-json-to-build-a-twitter-client/
but seems this work different when is an ipod to when it is a desktp app...I create an app.js (like the tuto) and put my code inside it but it never run...I look the source code and only need create a .js and inside my "home.html" link it..but it don't work...I create a index.js too but it don't work neither
please help..I'm very noob...thanks
Aaron:
This reply kindly brought something that could have been a solution but just made me lose more than 15 minutes of my time, as these first online courses have info about how to create a new project with a default html file, not about the original poster's issue.
The original poster's issue is that he has a new project with an index.html file, but no app.js file.
And he then doesn't understand where he could put the sampe code :
var win = Ti.UI.createWindow();
var view = Ti.UI.createView({backgroundColor:"red"});
win.add(view);
win.open();
... as whatever he puts in app.js is not executed.
The documentation in Titanium Dev Center fails to provide accurate information as it only mentions Titanium Mobile app.js and does not speak of index.html in the application structure.
After some starting experience on Titanium Mobile, I had to work on Titanium Desktop andactually just had the same problem as angel_ang, which brought me here.
So, here is the real answer :
Titanium Desktop applications do not need or start with an app.js file, but with index.html.
Deleting or removing this file never works as it will still be launched from the last build if need be.
Adding anything to app.js will never run as only index.html is run as a starting place.
Something that should have been a solution was found that to the following link:
http://www.youtube.com/watch?v=lgGVNB2nkKc&NR=1
This video is two online courses further from the link supplied by Aaron. At 0.19 seconds exactly, we see the starting code he has added to index.html.
You need to put a ... in your HEAD section, and add a function() there.
You may put the sample code inside this function.
Then you may even set the function to run when you click a button ().
Unfortunately, this doesn't work with me either.
I tried with the example code above but also with the other example (notification) mentioned in the online course.
It just seems that something is deprecated here and many documentations are outdated.
Anyone that could answer to this situation would be very helpful to us and many newcomers.
We just have an index.html that we can't use, instead of a running app.js file.