Problem with include and problem RTE project updater - include

I am doing a project for the university using onsemi (for RSL10) and I have 2 problems.
One of the two problem is with the include: I can't understand why the program cannot find the .h file located in the same folder error include
Then the second one: when I open the program, an alert comes out with "RTE project updater has encountered a problem" and "Error updating RTE project". If I go into the folder in order to find the error, I find it in a file .h :
error RTE project.
Would anyone know how to recommend something to solve?

Related

How to move files in Xcode without causing "Cannot find 'FileName' in Scope"?

I want to make my project more organized, so I created new groups and dragged files into those groups. I am doing all of this in Xcode, not finder or terminal. However, now, Xcode shows "Cannot find 'FileName' in Scope" errors next to references to classes in those files.
How do I solve this problem?
I tried building the project and cleaning the build folder.
I ran into the same issue today with Xcode 12.2 and an iOS 14.2 project. I created a file for a new struct, wrote some code in ViewController that created instances of the struct, and then for housecleaning I moved the struct's .swift file. At that point I saw the error "Cannot find [type] in scope."
Product | Clean Build Folder didn't do the trick.
Closing and reopening Xcode worked for me.
I'm not sure if the initial clean helped or not.
There are more detailed answers here, and your particular case may be covered:
SwiftUI 2.0 CoreData issues with new project - 'Cannot find type 'Item' in scope'
I fixed a similar issue today using Xcode 12.3 (12C33):
Solution
Removed the impacted files from Xcode (without trashing them)
Tried adding the files back with the create folder references option selected
Found that this action generated Cannot find 'type' in scope error
Resolved the error by removing the files references and select the create groups option when copying the files back into the project.
BTW - I found these methods work while using either the Add Files option or dragging the files/folders into the project.
I found some "hack" to fix it.
Lets say you wanna move folder Models to your project. Open AppCode and create Model group using IDE tools. Then open XCode, select Model folder and perform Add files to "Model" action. It worked out in my case.
From my understanding, the problem is with forlders, not with files.

unknown MSBuild failure on osx

I have been working on a xamarin ios application with MVVMlight framework.
It was working without any problem but suddenly I am getting the following error
Unknown MSBuild failure.Please try the building the project again
Herewith I have attached the screenshot of build log
When I click the error it leads to the .csproj file
I have verified the the xml is syntactically right no presence of any special character that can cause any xml problem
So far I have tried clean & build,removing the obj and bin manually,restarting the xamarin.But nothing works so far.
The problem is not seen in Visual studio though
Any suggestions to solve the problem is welcome
There was a space in one of the directory name in the path.
I replaced the space with %20 for directory name on Finder and it started working.

XCode, Swift (Domain = NSPOSIXErrorDomain, Code = 22)

My friend came to me with a small request of creating a video portfolio app. I thought it was a good excuse to try out Swift, which is what I did. (The app is not intended for release on the app store, only to distribute via Testflight)
I've run into some trouble where I'm getting the following error when trying to run my project:
An error was encountered while running (Domain = NSPOSIXErrorDomain, Code = 22)
The error appeared after adding a directory with .mp4 video files to my project in my "Bundle Resources". It concerns 6 .mp4 files at around 1.2gb in total.
As I couldn't figure out why the error happened in the first place, I decided to re-do my entire project (copying over bits and pieces). The project ran just until the part where I added the folder containing the videos.
I've tried removing both the reference and the folder, but the error consist. I really want to get to the bottom of this, so that I instead of having to create a new project, I can just remove whatever files are creating the problem.
Thanks in advance.
In my case, I had created the directory "Resources" absentmindedly and added it as a reference to my project. Renaming this folder, cleaning the project, and deleting the derived data (~/Library/Developer/Xcode/DerivedData/) fixed it for me.
Check infoplist file under TARGETS -> General - > Identity.
Please add the new infoplist file if missing in project folder. For new info plist values you can create new dummy project and copy, rename the infoplist file from there.
Maybe the files with the extension ".m" are not in "Compile Sources".
Click in the Target > Build Phrases > Compile Source and look if "main.m" and others ".m" files are added here.
in my case, i missed the bundle ID. check if you have filled the bundle ID field in your project.
(In my case ,it is becasue cloud_firestore)
Did you import cloud_firestore?
if yes ,please Try low version

Create File Structure

Hello I've got a little problem while trying to create a new Project.
My aim is to get a total folder for sourc files, headers, external dependencies and ressource files auto generated.
Visual Studio does not create this folder for me.
I tried to activate and deactivate the plug in for controlling source code folders but it doesnt help.
At the beginning, when i ve created my first couple of projects it automaticallyy generated this folder. But now I do get nothing but my Project file without a source or a header folder
Thank You for every Help
When you are creating a new project there is a check box right above the OK button that says "Create a directory for this solution". Make sure this box is checked.

After SVN-update cannot load project in VS2010

I updated a project (SVN). Update failed because a file cannot be opened, althought this file is not appearing anymore in the mentionned folder (I suspect that I deleted it with right click instead of SV-remove). When I load project with VS after a MakeAll, error occur:
error : Project "D:\...\ExportDatasetCSV.vcxproj" could not be found.
The file ExportDatasetCSV.vcxproj is indeed not existing at this place in the folders-tree. But before update I was able to compile code without any issue.
Could you please help me with your comments?
Thanks and regards.
Do a SVN cleanup in the root folder of your project.

Resources