Xcode 12 beta 6 cannot find my SPM architecture - swift-package-manager

I'm trying to load my app with the new xcode 12 beta 6 and i'm getting the following.
Could not find module 'MySwiftPackage' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64
As you can see, I have created an SPM which the system cannot find the correct architecture for. After searching a solution I came up with this:
https://medium.com/#purnenduroy07/could-not-find-module-for-target-x86-64-apple-ios-simulator-dbc676f131b1
But this guide refers to frameworks. When I build my SPM it doesn't give me a framework. The best I got is:
MySwiftPackage.o
MySwiftPackage.swiftmodule
I'm not sure if that could help me or not, or if i'm going the wrong way here.
Thanks for your help

Related

Qt Quick Application: No suitable kits found

First of all, I would like to say that I know that there are a lot of topics about this. However, although I have followed them, I have not been able to solve my problem.
My problem is simple: when I want to create a Qt Quick Application project, I get an error when I have to choose my kit "No suitable kits found.
This is what I get when I go to the Qt Creator options:
So everything seems ok, so where can my problem come from?

QT creator setup on windows

Hey guys thanks for looking at this question. I am attempting to learn some UI programming and was hoping to use QT creator to get started. I am a babe in the woods for Qt Creator 4.6.0. And I can't seem to setup QT creator to work on windows 7. When I go to manage the project or tools>options>build and run I really don't know what to fill out?
If all I do is create a new project and attempt to "build all" I get the error:
Could not determine which "make" command to run. Check the "make" step in the build configuration.
I found alot of post on how to fix this but I haven't figured out how to get them to work for me.
Example 1
Example 2
Example 3
Example 4
I am attempting to figure out what exactly I am doing wrong. It might have something to do with not selecting the correct compiler and Qmake file? So far what I do is.
Step 1: Create New Project
Step 2: I then go into kit selection
Step 3: I select manage
Step 4: select the Manual(desktop) nothing is automatically populated
As for the rest of the tabs I have:
compilers tab
debug tab
CMAKE tab
After I setup all the tabs should I have a functioning project?
Ok well after looking I guess there isn't a Qmake file installed with QT just to be clear on the installation I am wondering which of the boxes should I check during installation. It comes up like the following picture
QT Installation

error: Failed to parse qmlimportscanner output

I have a created a fresh QML quick application using Qt 5.3.2 on Mac. When I build it has 2 link errors.
Failed to parse qmlimportscanner output.:-1: error:
[iphonesimulator-debug] Error 66
I have not even made any changes to default application, why do I get these errors and how can I fix it?
I know this question is pretty old, however, as I just encountered the same error and finally managed to solve it: Your Project Path must not contain spaces for qml quick projects on ios.
Please do not ask me how or why this is the case (as it clearly works for desktop or android deployment), but this was the issue for me. After moving the project to a different location (a folder that does not contain spaces) it would run qmake and deploy just fine.

Error building QtCore

I am trying to build QtCore.lib and I get this weird error.
PRJ0019: A tool returned an error code from "MOC kernel\qtimer.cpp"
I am able to build qtmain.lib but not able tp go any further.
moc.exe is available in bin folder and the path is added to my PATH.
kernel\qtimer.cpp file is also present in corelib folder.
Any help in this regard will be appreciated. I am building with Qt-4.5.2 source.
In Qt 4.5.2 moc.exe has some issues. An email I sent to Qt Support mentions it moc'ing files that were not modified. It could have further issues, which could be related to what you are experiencing.
Sorry I can't recall the exact details. To make things worse the link Qt Support had sent me at the time is broken.
They had suggested using 4.5.3. I think we ended up staying on 4.5.1, which we are still using today, although the move to 4.7.x. is occurring as I write this. :)

Where are the test cases in Qt?

I have gone through Qtestlib manual & tutorial and got to know step by step procedure for developing a test.
If i'm right, Qt has already developed few test cases for testing its functionalities. Can anyone tell me where are those codes in Qt's source tree?
If i have to modify them(test cases), is it possible for me to do?
Thanks in advance,
Niv
The unit tests are not included in the source distributions, but they are present in the Git repository: http://qt.gitorious.org/qt/qt/trees/4.7/tests/auto

Resources