How to delete the today extension in iOS8 - ios8-today-widget

I just delete the files(just storyboard, viewController) of a today extension, then I create a new one. But, when I ran the app, there will be two today extensions, one is the one I deleted. Please help me to delete the first one.!

delete the schema
select your project then select widget from Targets and delete it

Related

How do I delete targets on Xcode version 13.0

I am a beginner starting C on Xcode. I tried to use multiple C files on one project and figured out making another target can solve the problem. Now, I want to delete the new target that I made but, when I hit the delete button it just shuts down itself. What should I do?
enter image description here
Right click on the Target and select Delete.

After updating Xamarin and Xcode, failing to run app on iOS device

I recently updated Xcode and Xamarin and when I deploy my project to my simulator on iOS it works well. But when I however try to use my phone that has been working succesfully for many months now it does not work and I get this error in the log:
System.IO.FileNotFoundException: /Users/Carlos/Projects/Myproject/iOS/obj/iPhone/Debug/build-iphone8.1-9.3.2/ibtool-link/LaunchScreen.storyboardc/02J-Ip-oVM-view-Ze4-5b-2t2.nib does not exist
My bundle identifier matches my provisioning profile that I have made on apple.
I have tried to delete the obj and bin folders in the projectmap/mainmap (not the obj and bin-folders inside the iOS folder) but without any success. I have also rebuild the project and cleaned it but the problem still remains.
When I create a brand new project however it works. So it seems to be a problem with old projects only.
In the map on my old project I cannot even find "ibtool-link" and if I check the newly made project I just made i can see it there and other maps as well. Can I solve it by copying them over? Or is there a better solution?
Any ideas what it might be?
You might try the suggestions (I saw at least 2 different ones) in this post which are:
simply right click on the xib and open it in IB. I then turn around and close it in IB and that gets me past the error.
And
make sure 'Main Interface' empty in info.plist.
Remove Bin and Obj folder.
Also you might try deleting the build cache on your mac by going to /Users/<Your User Account Name>/Library/Caches/Xamarin/mtbs/ and then delete the folder that is the same name as your solution (there might be 2, one with iOS in the name, delete both). This will get recreated when you rebuild your solution.

xcode delete all data from coder archive

I am using state restoration for my view controllers in Xcode 7.1. But whenever the app initiates on either the simulator or iPhone the old tableview appears. It has rows in it I want to get rid of but my delete code doesn't work. Is there some way to delete coder archived data from a previous build so I get a completely clean tableview to start? I tried in the build target but that didn't help. If I could find where the coder archived data lives in the simulator and get rid of it, maybe that might work?
Here is the state restoration code:
Are you referring to the Derived Data? Xcode allows you to delete the folder, it contains the index, build output and logs. However, I would do a clean then build first, then reset the simulator settings if necessary.
To delete the Derived Data: Window > Projects > select your project and delete
No. I was looking for the DocumentsDirectory in Library/Developer. Here is a link
to a discussion that answered my question. I was able to go in there and delete the *.archive files that were giving me trouble. To be more specific, I incorrectly added some arrays to sections in a tableView, and used State Restoration to save them when I killed the app in Xcode. Then my delete code got exceptions for iterating outside the arrays so I couldn't get rid of them programmatically. But by deleting the archive files using this procedure, I am back in business.
link to access documents directory

Create NSManagedObject subclass not generating property after updating to Xcode 6.0

After updating to Xcode Version 6.0 (6A313), when I add a new attribute to my xcdatamodeld entry, "Create NSManagedObject subclass" is not adding the new property to the generated header file. This works fine after closing Xcode 6, and then running Version 5.1.1 (5B1008). I repeated this process a couple of times with the same results. Do I need to do something to allow a new Xcode version to properly manage my data models, or recreate them, or is this possibly just a bug with the new Xcode?
Here are the specific steps I took:
1. Open DataModel.xcdatamodeld in Xcode 6.0 (GM Seed).
2. Select correct entity
3. Click + to add new attribute
4. Enter name and selected Boolean type for new attribute
5. Editor->Create NSManagedObject subclass
6. Ensure proper data model is checked, click next
7. Ensure correct entity is checked, click next
8. Choose location to save (using root project folder), select Create
9. Choose "Replace" in dialogue box
10. Look for variable in generated header file. Variable not present.
11. Close Xcode6
12. Repeat steps 1-10 in Xcode 5.1.1, worked correctly
13. Repeated this process twice to verify same results
Thanks for any help!
Ok, I figured out a workaround but it would appear this is a bug.
For all the entities you want to regenerate, remove the existing files from disk try Editor->Create NSManagedObject subclass and select those classes that you have removed from disk.
The files that don't currently exist are regenerated. This fixed the issue for me.
I had the same problem, Xcode didn't generate new properties after I choose "Replace" files.
Just fix it doing next steps:
after you change or add new entity in .xcdatamodel select changed entity Class files at "Groups & Files" list
select "Delete" - "Move to Trash" (if need copy specific code from your class file)
now back to .xcdatamodel and select entity you changed
create new NSManagedObject subclass(use standard way)
This requires a workaround, but specifically the quickest way I found was:
Setup your project such that the generated files from the model, are in a folder of their own.
When you need to add/change attributes to your model, multi-select the set of auto-generated files, and hit backspace (and select move them to Trash)
Re-generate your set of NSManagedObject files from the Model, back into the same folder
Before deleting your files and/or the data model itself as suggested, check whether you have added the module name in the Xcode's Data Model Inspector under Entity/Class. If you have, removing it will solve the problem of auto generating the entity classes. It will, however, reintroduce the problem you fixed by adding it in the first place (see Swift - CoreData: warning: Unable to load class named)... With this in mind, it appears a better solution to add the #objc(<ClassName>) above the generated class than to add the module name in the inspector.
Old question. But here is my solution: just CLEAN it and BUILD again.
Menu: project > clean build folder
and build again.
btw, here is the time of Xcode 9.

Can I produce a re-skinned app by copying the Xcode project and renaming it?

I have a finished iPhone application, and now I´m going to do another app that is almost exactly the same, but with different background images, data, and name. Now I wonder how I can do this. Can I just copy and paste my project and rename it? Or should I start a new project and drag in my files and create a new storyboard? Can I drag in the storyboard too?
follow me. :)
First if you want to change the project name
Rename
Enable
======================
if you want to submit your app to appStore you have to add new app with the new name in ituensConnect
=======================
to change Bundel ID change it directly > I use XCode 5

Resources