I have an error while changing app name Xcode - xcode

https://zeddios.tistory.com/286
I have followed this web site to change my project's name
The Original name is HM 10 Serial and TOUCHE and I want to union that to CANTUS.
But I have failed to change, so I tried to renamed it to the original name.
But when I start Xcode again, there is only
What screen shows
I don't know how to fix it....
and I have no back up file so I have to fix it.
What is this problem and how can I solve this?
I'm so so Desperate, So please any give me any possible idea.
############### added ###############
Problem is getting better and is changed
now I have a different problem.
Build input files cannot be found:
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/UIColor.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/OperateViewController.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/PreferencesTableViewController.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/ScannerViewController.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/GraphViewController.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/SpeedButton.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/AppDelegate.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/BluetoothSerial.swift',
'/Users/moongyeonguk/Downloads/TOUCH4s_charts_cracked_editing/TOUCHE/InitViewController.swift'

Related

How to fix errors when update project from Xcode 13 to Xcode 14

I was trying to update my project from Xcode 13 to Xcode 14.
But I got a lot of errors. They are similar but I don't know how to fix them. Take a look in the image below:
It's the same error that appears in a lot of files.
I try to click on "Type declared here".
But it didn't appear the error inside the Swift file.
When I click on "self declared here", I see this
It shows no error on the file.
When I was clicking on the errors, they vanish sometimes, but for some unknown reason, they reappear after some time.
Anyone got any idea of how to fix this?
EDIT 1:
The problem is related to the "OcrProcessingViewController" class.
I comment this class and the code starts to work again. But I still din't find what was causing the problem.
If I restore the code, I can see only one error now.
This is the full code on my "OcrProcessingViewController" class file
https://swiftfiddle.com/kfmxwr6snrbknne3msmapvkx5m
I suspect it is related to the "protocol CodigoOcrDataDelegate: AnyObject", but I don't know how yet how this happens.
I find out what was causing the problem.
It was the property
lazy var textDetectionRequest: VNRecognizeTextRequest = {
let request = VNRecognizeTextRequest(completionHandler: handleDetectedText)
request.recognitionLevel = .accurate
request.recognitionLanguages = ["en_GB"]
return request
}()
I just need to move it to start of the class(removing it from inside the function) and everything works perfectly now on Xcode 14

Xcode command failed with exit code 1 AND error reading xcodeproj file

The app is being built on another persons computer and then sent to me to test. I am extremely new to this but have been testing apps for a few months. I just don't do programming at all. I can maneuver my way around inside Xcode 7.1 pretty well. However, I do need to fix these errors in order to test this current app. Can someone help me out?
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
I also have another error that reads
Error reading '/Users/logjam3/Desktop/Cosmo Client/Cosmo Client.xcodeproj'
This is exactly the path to where my project is so I don't know why I get this error.
You have to change the prefix header source location. You can do this by searching for prefix header then changing the location by pressing the 'file' icon on the right sidebar of Xcode.

App name has -temp-caseinsensitive-rename attached to it

I have been having an issue when trying to rename my app. Basically I have clicked on my app's name under 'Project' and changed the name under 'Identity and Type' to the desired name. The issue is that when I run my app, the name under the icon appears as this:
testName-temp-caseinsensitive-rename
I gave my app the name 'testName' while I was checking whether it would work, but now it seems I am stuck with this and the weird temp-caseinsensitive-rename bit.
I have done a quick search but the results were no help to me so I was wondering if anyone had any suggestions?
Figured it out. I used the search function in Xcode and found the remaining places with 'testName-temp-caseinsensitive-rename' as the name. Product Name and Product Module Name still had that name set so I renamed them and it fixed the issue.

Running AntlrWorks2 stand-alone on Windows 7

I must be missing something. After downloading AntlrWorks2 I found the executable bin/antlrworks2.exe and bin/antlrworks264.exe. Aren't these supposed to be the standalone version of the tool? Neither works for me; after a NetBeans splash screen, the first times around I got an error message on missing packages; after a couple of times I chose to go on regardless, but now (still after the initial spash screen) there is simply nothing happening at all.
I can't find any tutorial or manual detailing how to run AntlrWorks stand-alone, so any help is much appreciated.
This is due to a bug in the NetBeans platform. I filed a report but it hasn't received a reply yet:
Cannot launch platform application after moving installation folder
Here is a workaround that does not delete any preferences you have customized:
I found that deleting just the var folder under the user's generated
.antlrworks2 settings folder resolves the issue...
Still an issue as of date of this post. Deleting the .antlrworks2 folder from \users\username\AppData\Roaming does work - you can find this folder by putting %APPDATA% into your file explorer address bar (exactly as shown) - that will go to the app data folder for your current user login session. Delete the .antlrworks2 folder and then re-run the app.

Issue in integrating ZXing to iphone App

I am trying to develop QRCode reader application in iPhone.
I am trying to use ZXing SDK. i have successfully run the sample application given by ZXing. But i ma trying to develope new application as per instructions in Readme given by Zxing. but when i am trying to add ZxingWidget in build phases. it going add but it shows like below
I think it will getting problem to me. When i am trying to run application it will give erros like Lexical or Prepocessor issue File not found.
Is am doing any thing wrong when am added to files to application.
Actaully first of all i added ZxingWidget.xcodeproj to my application by drag and drop. But it wont give any alert window would you like copy like similar when we adding images or files to xcode. and next i added cpp and iphone folders to xcode application. and later i added the frameworks as per read me.
Please any one help me in this issue.
Thanks in advance
Pretty hard to help without the real error message. In the Issue Navigator, you can Right Click > Reveal in Log to see the complete error that you can copy and paste.
That said, it sounds a bit like it can't find the headers (though I'm just guessing without the real error message.) If so, double check steps 4 and 5 of the readme.
if you run on real device, the problem will be solved.
I don't know the reason.
But I guess It's related to Build Products Path.

Resources