I just downloaded and unpacked the ZIP for InAppSettingsKit.
For all three versions of the sample app, I am having problems when trying to build and run in Xcode 10.0:
IASKSampleAppStaticLibrary.xcodeproj: fatal error: 'InAppSettingsKit/IASKSpecifier.h' file not found
InAppSettingsKitSampleApp.xcodeproj: CustomViewCell.xib:global: error: Compiling IB documents for earlier than iOS 7 is no longer supported.
InAppSettingsKitSampleAppStoryboard.xcodeproj: 'InAppSettingsKit/IASKAppSettingsViewController.h' file not found (in SettingsViewController.h)
Are these sample apps not up-to-date or am I missing something?
Just open the InAppSettingsKit.xcworkspace and select any target.
Related
I made a simple blank project and added Bugsee via swift-package-manager.
Its located on https://github.com/bugsee/spm.
I can successfully build project for iOS Device.
But it fails for Simulator. And the error is not really verbose
(the path is shortened):
Cannot open file handle for file at path: Path(str: ".../Bugsee.xcframework/ios-arm64_i386_x86_64-simulator/Bugsee.framework")
What does it mean?
The path is valid and the framework is there:
I also found that build for simulator is OK after I have added Bugsee.xcframework into Frameworks, Libraries, and Embedded Content.
Does anyone know what's wrong?
It looks like SPM in Xcode have an issue with i386 arch.
Bugsee released 1.28.0 with dropped support for i386 arch. And now Xcode starts building fine for simulator.
I think i should create a ticket in SPM tracker.
I am getting following error when trying to run a react-native project in xcode simulator
ignoring file ../libDoubleConversion.a, building for iOS Simulator-arm64 but attempting to link with file built for iOS Simulator-x86_64
Undefined symbols for architecture arm64: "double_conversion::DoubleToStringConverter::ToPrecision(double, int, double_conversion::StringBuilder*) const"
Here is how my xcode is configured
Also added VALID_ARCHS in pod file and in project
Tried to add Linked Binary with libraries libDoubleConversion.a it didnt help. I also tried to exlude arm64 in Excluded architectures but then the error reverses Simulator-x86_64 -> Simulator-arm64 but on different file, Tried to use Xcode 13 beta same thing. So i got the point i am just going in circles and cant find a solution to successfuly run this project.
I found the answer here
https://stackoverflow.com/a/68273669/1393695
Turns out the newest version of Flipper-Folly (2.6.9) is causing this
issue. Replace that line
use_flipper!({'Flipper' => '0.92.0', 'Flipper-Folly' => '2.6.7'})
With this i got an error in Xcode could not find swiftSwiftOneOnoneSupport..., then i added this lib in Link binary with files. And managed to run the build successfully.
I am trying to build a Flutter app that uses Firestore, Cloud Functions, and Auth to upload to the App Store. I can use Flutter to build for iOS without problems, but building in XCode for a generic device fails. The build fails in the link stage with the error after a whole bunch of warnings about not finding the directories of various pods:
ld: warning: directory not found for option '-L/Users/jpsheehan/Library/Developer/Xcode/DerivedData/Runner-dbsrfhxjslbqvrhhrsdoiilfifvz/Build/Products/Release-production-iphoneos/AppAuth'
ld: warning: directory not found for option '-L/Users/jpsheehan/Library/Developer/Xcode/DerivedData/Runner-dbsrfhxjslbqvrhhrsdoiilfifvz/Build/Products/Release-production-iphoneos/BoringSSL-GRPC'
ld: warning: directory not found for option '-L/Users/jpsheehan/Library/Developer/Xcode/DerivedData/Runner-dbsrfhxjslbqvrhhrsdoiilfifvz/Build/Products/Release-production-iphoneos/FirebaseAuth'
...
ld: library not found for -lAppAuth
I have tried the following things without success:
Open Runner.xcworkspace, not Runner.xcproject
Delete Podfile, Podfile.lock, and Pods\
Drag Pods.xcworkspace into Pods folder in XCode
Does anyone have recommendations for how to fix this?
The problem was that my config files were not including the proper Pods-Runner files after I added flavors to flutter. I modified them to point to the correct paths.
Broken Version
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
Working Version
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug-production.xcconfig"
#include "Generated.xcconfig"
I spent hours trying to fix this bug. Ultimately this is how I was able to resolve it
Before starting with Xcode Archive, used flutter build iOS
Changed the IOS Deployment Target to a higher target iOS 11.2 . Earlier I had something like 8.0 which was giving all the above errors.
Made sure that the IOS deployment targets in Xcode are same in the Project, Target and Pods
I just uploaded to Xcode 10 and the compilation of my app that is using the DJI Mobile SDK doesn't work anymore. The error message comes from the DJIWidget module. I remember seeing a message similar to this one on Xcode 9.3 but it was only a warning. The error message is this one:
Showing Recent Messages
:-1: Multiple commands produce '/Users/nachocarnicero/Library/Developer/Xcode/DerivedData/perceptionios-cuskgbsvtllwjkeyqpqurbegowwa/Build/Products/Debug-iphonesimulator/DJIWidget.framework/Headers/DJICalibratePixelBufferProvider.h':
1) Target 'DJIWidget' (project 'DJIWidget') has copy command from '/Users/nachocarnicero/git/Sterblue/MobileNew/ios/DJIWidget/DJIWidget/VideoPreviewer/Helper/ImageCalibrate/DJICalibratePixelBufferProvider.h' to '/Users/nachocarnicero/Library/Developer/Xcode/DerivedData/perceptionios-cuskgbsvtllwjkeyqpqurbegowwa/Build/Products/Debug-iphonesimulator/DJIWidget.framework/Headers/DJICalibratePixelBufferProvider.h'
2) Target 'DJIWidget' (project 'DJIWidget') has copy command from '/Users/nachocarnicero/git/Sterblue/MobileNew/ios/DJIWidget/DJIWidget/VideoPreviewer/Helper/ImageCalibrate/PixelBufferProvider/DJICalibratePixelBufferProvider.h' to '/Users/nachocarnicero/Library/Developer/Xcode/DerivedData/perceptionios-cuskgbsvtllwjkeyqpqurbegowwa/Build/Products/Debug-iphonesimulator/DJIWidget.framework/Headers/DJICalibratePixelBufferProvider.h'
As you can see from the following screenshot this error is blocking the compilation:
Has anyone encountered this issue and has managed to fix it?
Cheers,
Nacho
EDIT
I have managed to successfully compile the project with the "Legacy Build System" (by activating it under File->Workspace Settings), so this confirms that this is a problem with the "New Build System" which is enabled by default in Xcode 10
I am building an iPhone project in XCode and get the following error:
:0: error: no such file or directory: '/Generics/Basic extensions/Swift/StringExtension.swift'
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
The project.pbxproj file thinks it should be here:
../../../../Generics/Basic extensions/Swift/StringExtension.swift
There are other Swift extensions directly in the project folder, but I seem to be missing the basic extensions. I have XCode 6.4 with Swift 1.2...
Turns out they were custom Swift Extensions and I was able to get them from the creator (of the project).