iOS project transfer from xcode11 to xcode14 - xcode

I had project which is working all good in xcode11 but when i open and try to run the project xcode13 or xcode14 it gives be below error
Steps i did to solve it:
1) Clear the build
2) Delete Derived Data
3) Xcode13 -> File -> Workspace settings -> Change to New Build System instead of Legacy Build system (Legacy build system is depricated)
4) Build Phases -> Copy Bundle Resources -> check if there are duplicate files exist.
error build: Multiple commands produce '/Users/Username/Library/Developer/Xcode/DerivedData/Project-ekfgusdfwerwe wercemqfyjckxycw/Build/Products/Debug-iphonesimulator/projectTest.app/Model.cdm'
Please help me

Related

Why does STS show compilation errors when I first create a skeleton Boot project?

I just downloaded and installed Spring Tool Suite 4 for Mac. It has the following version ...
Version: 4.6.2.RELEASE
Build Id: 202005250833
I created a brand new Spring Boot project by going to the File menu, selecting "New" and then "Spring Starter Project." I filled out the information on the next screen, and then selected Spring Boot 2.3.1. When I open up the resulting scaffolding, though, there are already compilation errors ...
When I go to my "Run" menu and select "Run As" -> "Spring Boot App," the following error appears
Error: Could not find or load main class com.burrobuie.cardmania.CardmaniaApplication
Is there something else that needs to be done so that there are no compilation errors in my project when it is first created? I feel like this is something that should be the default behavior.
In top of STS you see File Edit Navigate Search Project
Click on Project -> clean -> select your project -> check Build automatically
Click on Project -> clean -> select your project -> clean
Look for the pom file of your project
Right click on pom file -> maven -> update project.
Right click on pom file -> run as -> maven build -> goals: enter'clean install' -> run
In the console you should see build success.
your compilation errors will be all gone. Not all these steps are required to do every time it only when you see compilation error performing one or all the steps will resolve the issue.

Xcode 10 build error - Multiple commands produce info.plist

I recently updated to Xcode 10 but now get this whenever I try to run my build:
Build system information
error: Multiple commands produce '/Users/shiningsunnyday/Library/Developer/Xcode/DerivedData/aiRun-aogoneumhlleekecmbglgiyifpwy/Build/Products/Debug-iphoneos/aiRun.app/Info.plist':
1) Target 'aiRun' (project 'aiRun') has copy command from '/Users/shiningsunnyday/Documents/GitHub/running_app/RUN BABY/aiRun/aiRun/Info.plist' to '/Users/shiningsunnyday/Library/Developer/Xcode/DerivedData/aiRun-aogoneumhlleekecmbglgiyifpwy/Build/Products/Debug-iphoneos/aiRun.app/Info.plist'
2) Target 'aiRun' (project 'aiRun') has process command with output '/Users/shiningsunnyday/Library/Developer/Xcode/DerivedData/aiRun-aogoneumhlleekecmbglgiyifpwy/Build/Products/Debug-iphoneos/aiRun.app/Info.plist'
I can remove my Info.plist's target membership and it works but I need the custom-set key values inside it. What do I do?
Workspace Project > Build Settings > find[Command+F] > info.plist >
Packaging > info.plist File - [your_target/info.plist]
The above method is the cleanest answer.
[XCode - File - Workspace Settings - New Build System(Default)]

How to fetch Source Configuration from AnthillPro programatically?

I went through the REST API doc of AnthillPro but couldn't find anything useful on fetching source configuration for a workflow.
What I need exactly is the code repository(svn/git) for the workflow. In anthillPro, it can be seen/edited from Administration >> Folder >> Project >> Build >> SourceConfigurations
Have you installed the proper plugin ? Use this site to download what you need -
https://developer.ibm.com/urbancode/plugins/anthillpro/
I use AHP 5, so after installing the plugins you should do the followings:
Check to see if plugin installed and all the steps and details - you should see them in
System -> Server -> Plugins
Then you should create a new repository from:
System -> Project support -> Repositories
Then add steps to a job, that is assigned to the workflow you have, from:
Administration -> Job -> "Add step icon"
From the steps popup:
Repositories -> source -> GIT -> ALL THE AVAILABLE STEPS
Option 2 (never did that myself) -
Add a shell script/ batch as a step and write your own code to fetch you desired code
Enjoy,
Eli

Dependencies not getting updated in TFS Build Server

I have created a Smart Device CAB Deployment Project and contains dependencies eg: Test.dll.
Where Test is a seperate class library. I have created a build definition for this solution(contains Test Proj + CAB deployment Proj). When i trigger queue new build for this definition Test.dll is not getting updated in CAB deployment project in Build Agent folder of TFS Server.
PLease let me know how can i reload this dependencies on checking in / queuing new build.
Thanks in advance
Check your Workspace option on Process tab. It should be All or Outputs if you wish to have always fresh version. None option is for incremental builds. If your project is really small "All" is the best option for you.
All - erase entire workspace and download and build everything again
Outputs - like All but only output bin folders are erased and new
version is downloaded (get latest version) from source control.
(incremental get) (like Rebuild (cleen + build) in your solution)
None - sources are build incrementally. Like Get latest version +
Build command in VS

Setting the Build Directory of an Xcode Project

So far, no matter what I try, Xcode dumps my project's products in a subfolder of the project directory. I've tried each setting under Build Locations, but it doesn't seem to work. If I try Users/MyName/svn/trunk, it'll end up in the project folder .../MyProject/Users/MyName....
What am I doing incorrectly?
Try going to:
Project -> Edit Project Settings -> General -> Place Build Products In: Custom Location.
Would adding a preceding / before your build path fix it? (eg: /Users/... instead of Users/... ?

Resources