Giter Site home page Giter Site logo

sdks's Introduction

Theos

A cross-platform build system for creating iOS,
macOS, Linux, and Windows programs.

HomeInstallationDocumentationGet Help@[email protected]@theosdevDiscord

Contributors


kirb

uroboro

kabiroberai

DHowett

rpetrich

Thanks to the following people for contributing to Theos in the past: Aehmlo, akemin-dayo, ARM64Darwin1820, ArtikusHG, benrosen78, brendonjkding, conradev, coolstar, DavidSkrundz, DGh0st, Diatrus, dlevi309, DuIslingr, elihwyma, eswick, evelyneee, hirakujira, inoahdev, kemmis, lechium, leptos-null, liuxuan30, mstg, Naville, neoighodaro, nin9tyfour, NSExceptional, opa334, PoomSmart, quiprr, r-plus, Rand01ph, ryannair05, sbingner, Shade-Zepheri, supermamon, theiostream, Tyilo, vsnrain

License

See LICENSE.md for licensing information.

sdks's People

Contributors

arm64darwin1820 avatar davidskrundz avatar inoahdev avatar kirb avatar l1ghtmann avatar lechium avatar leptos-null avatar mstg avatar poomsmart avatar quiprr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sdks's Issues

iOS 11.2 SDK gives me an error

Projects compiled fine before i replaced the SDK.

Error I'm getting:
ld: in '/usr/lib/system/liblaunch.dylib', missing required architecture armv7 in file /usr/lib/system/liblaunch.dylib (2 slices) for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Makefile:
https://ghostbin.com/paste/dabkh

I'm using macOS High Sierra 10.13.3

sdk 10.3 give me an warning. i use xcode 11.3

skflydeMBP:skflytest skfly$ make clean package
==> Cleaning…

Making all for tweak skflytest…
==> Preprocessing Tweak.x…
==> Compiling Tweak.x (arm64)…
==> Linking tweak skflytest (arm64)…
ld: warning: OS version (6.0.0) too small, changing to 7.0.0
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/libobjc.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/vendor/lib/CydiaSubstrate.framework/CydiaSubstrate.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/Frameworks//Foundation.framework/Foundation.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/libSystem.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/libc++.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/Frameworks//Metal.framework/Metal.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/Frameworks//CoreVideo.framework/CoreVideo.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/Frameworks//CoreImage.framework/CoreImage.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/Frameworks//Security.framework/Security.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/Frameworks//CFNetwork.framework/CFNetwork.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/Frameworks//CoreGraphics.framework/CoreGraphics.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/Frameworks//OpenGLES.framework/OpenGLES.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/Frameworks//QuartzCore.framework/QuartzCore.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/Frameworks//CoreText.framework/CoreText.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/Frameworks//UIKit.framework/UIKit.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libcache.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libcommonCrypto.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libcompiler_rt.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libcopyfile.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libcorecrypto.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libdispatch.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libdyld.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libkeymgr.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/liblaunch.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libmacho.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libremovefile.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_asl.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_blocks.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_c.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_configuration.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_containermanager.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_coreservices.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_coretls.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_dnssd.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_info.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_kernel.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_m.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_malloc.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_network.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_networkextension.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_notify.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_platform.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_pthread.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_sandbox.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_symptoms.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libsystem_trace.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libunwind.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libvminterpose.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS10.3.sdk/usr/lib/system/libxpc.tbd) built for iOS Simulator
==> Generating debug symbols for skflytest…
rm /Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/skflytest/.theos/obj/debug/arm64/Tweak.x.m
==> Merging tweak skflytest…
==> Signing skflytest…
Making stage for tweak skflytest…
dm.pl: building package com.yourcompany.skflytest:iphoneos-arm' in ./packages/com.yourcompany.skflytest_0.0.1-23+debug_iphoneos-arm.deb'

Linker fails on linux

When linking swift code with the 11.2 toolchain, macos works fine, but linux gives an error:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$__TtCs12_SwiftObject", referenced from:
      _$S12trolldropapp15TrollControllerCN in TrollController.swift.df35f1f7.o
  "_OBJC_METACLASS_$__TtCs12_SwiftObject", referenced from:
      _$S12trolldropapp15TrollControllerCMm in TrollController.swift.df35f1f7.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

edit: source code https://github.com/XMB5/trolldropapp

Preferences framework missing classes

I found today that the Preferences PrivateFramework was missing some objc-classes in its .tbd. I found that _PSSpecifier and _PSViewController are missing but I am not sure how many others are missing from the file (or other files).

sdk 11.2 give me an error, i use xcode 11.3

skflydeMBP:skflytest skfly$ make clean package
==> Cleaning…

Making all for tweak skflytest…
==> Preprocessing Tweak.x…
==> Compiling Tweak.x (arm64)…
While building module 'UIKit' imported from /Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/Prefix.pch:39:
While building module 'FileProvider' imported from /Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:
In file included from :1:
In file included from /Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h:8:
/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:71:12: error: attributes may not be specified on a
category
@interface NSFileProviderExtension (NSFileProviderDomain)
^
While building module 'UIKit' imported from /Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/Prefix.pch:39:
In file included from :1:
In file included from /Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:64:
/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:9: fatal error: could not build module
'FileProvider'
#import <FileProvider/NSFileProviderExtension.h>

In file included from <built-in>:1:
/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/AI/theos/theos_master_20200110/Prefix.pch:39:9: fatal error: could not build module 'UIKit'
#import <UIKit/UIKit.h>
~~~~~~~^
3 errors generated.
make[3]: *** [/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/skflytest/.theos/obj/debug/arm64/Tweak.x.b7b7c1eb.o] Error 1
rm /Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/skflytest/.theos/obj/debug/arm64/Tweak.x.m
make[2]: *** [/Volumes/DISK_02_USER_DATA/Users/skfly/Desktop/__SKFLY/skflytest/.theos/obj/debug/arm64/skflytest.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [skflytest.all.tweak.variables] Error 2

iOS 10.3 and 9.3 gives errors

ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/libSystem.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libcache.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libcommonCrypto.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libcompiler_rt.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libcopyfile.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libcorecrypto.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libdispatch.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libdyld.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libkeymgr.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/liblaunch.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libmacho.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libremovefile.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_asl.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_blocks.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_c.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_configuration.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_containermanager.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_coreservices.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_coretls.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_dnssd.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_info.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_kernel.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_m.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_malloc.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_network.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_networkextension.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_notify.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_platform.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_pthread.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_sandbox.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_symptoms.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libsystem_trace.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libunwind.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libvminterpose.tbd) built for iOS Simulator
ld: warning: building for iOS, but linking in .tbd file (/Users/joey/iosdev/toolchain/bin/../sdk/usr/lib/system/libxpc.tbd) built for iOS Simulator

.xm files fail to build with 14.5 sdk while .x && .m ones don't with the same code

What are the steps to reproduce this issue?

  1. Create two projects, TestOne and TestTwo
  2. The only modifications needed are specifying the iOS 14.5 sdk in the TARGET line for both projects, and then renaming Tweak.x to Tweak.xm for TestTwo
  3. Add a single line to both @import UIKit;

What happens?

The tweak with the .x or .m extension will build successfully while the one with .xm will throw either 7 errors if nothing is added, or 52 errors when importing UIKit.

What were you expecting to happen?

To compile successfully with the iOS 14.5 sdk (grabbed from this repository) regardless the file extension

Any logs, error output, etc?

The 7 errors with an empty Tweak.xm file -> https://gist.github.com/Luki120/447b88b4e2712ed26199c0e922b56ae4

The 52 errors when importing UIKit -> https://gist.github.com/Luki120/082628323b665d36670bd38a15f40a02

Any other comments?

The makefile TARGET line looks like this TARGET := iphone:clang:14.5:7.0, also I'm running the latest version of theos according to the last commit on gh. Just importing Foundation by itself throws 15 errors as well, similar to the other ones

What versions of software are you using?

Operating System: Kubuntu 21.04 x86_64

Toolchain Version: Swift 5.3.2 from CRKatri

SDK Version: 14.5

iOS 10.3's SDK give me error

Hi,

Thank you for your sdk files.
But when I using on theos (iOS 10.3.3) I got some errors.

/var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_types/_fd_def.h:46:16: note: previous definition is here typedef struct fd_set { ^ While building module 'os' imported from /var/theos/vendor/include/_Prefix/HBLog.h:2: In file included from <module-includes>:1: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/os/trace_base.h:12: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/time.h:75: /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_types/_fd_def.h:55:12: error: definition of 'fd_set' must be imported from module 'MachO.dyld_images' before it is required return (_p->fds_bits[(unsigned long)_n/__DARWIN_NFDBITS] & ((__int32_t)(((unsigned long)1)<<((unsigned long)_n % __DARWIN_NF... ^ /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_types/_fd_def.h:46:16: note: previous definition is here typedef struct fd_set { ^ While building module 'os' imported from /var/theos/vendor/include/_Prefix/HBLog.h:2: In file included from <module-includes>:1: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/os/trace_base.h:12: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/time.h:76: /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_types/_timespec.h:30:1: error: redefinition of 'timespec' _STRUCT_TIMESPEC ^ /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_types/_timespec.h:29:33: note: expanded from macro '_STRUCT_TIMESPEC' #define _STRUCT_TIMESPEC struct timespec ^ /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_types/_timespec.h:30:1: note: previous definition is here _STRUCT_TIMESPEC ^ /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_types/_timespec.h:29:33: note: expanded from macro '_STRUCT_TIMESPEC' #define _STRUCT_TIMESPEC struct timespec ^ While building module 'os' imported from /var/theos/vendor/include/_Prefix/HBLog.h:2: In file included from <module-includes>:1: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/os/trace_base.h:12: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/time.h:77: /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_types/_timeval.h:30:1: error: redefinition of 'timeval' _STRUCT_TIMEVAL ^ /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_types/_timeval.h:29:33: note: expanded from macro '_STRUCT_TIMEVAL' #define _STRUCT_TIMEVAL struct timeval ^ /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_types/_timeval.h:30:1: note: previous definition is here _STRUCT_TIMEVAL ^ /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_types/_timeval.h:29:33: note: expanded from macro '_STRUCT_TIMEVAL' #define _STRUCT_TIMEVAL struct timeval ^ While building module 'os' imported from /var/theos/vendor/include/_Prefix/HBLog.h:2: In file included from <module-includes>:1: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/os/trace_base.h:12: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/time.h:198: /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_select.h:39:6: error: conflicting types for 'select' int select(int, fd_set * __restrict, fd_set * __restrict, ^ /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_select.h:39:6: note: previous declaration is here int select(int, fd_set * __restrict, fd_set * __restrict, ^ While building module 'os' imported from /var/theos/vendor/include/_Prefix/HBLog.h:2: In file included from <module-includes>:1: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/os/trace_base.h:13: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/types.h:81: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/machine/endian.h:35: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/arm/endian.h:75: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_endian.h:130: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/libkern/_OSByteOrder.h:67: /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/libkern/arm/OSByteOrder.h:16:1: error: redefinition of '_OSSwapInt16' _OSSwapInt16( ^ /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/libkern/arm/OSByteOrder.h:16:1: note: previous definition is here _OSSwapInt16( ^ While building module 'os' imported from /var/theos/vendor/include/_Prefix/HBLog.h:2: In file included from <module-includes>:1: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/os/trace_base.h:13: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/types.h:81: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/machine/endian.h:35: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/arm/endian.h:75: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/sys/_endian.h:130: In file included from /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/libkern/_OSByteOrder.h:67: /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/libkern/arm/OSByteOrder.h:26:1: error: redefinition of '_OSSwapInt32' _OSSwapInt32( ^ /var/theos/sdks/iPhoneOS10.3.sdk/usr/include/libkern/arm/OSByteOrder.h:26:1: note: previous definition is here _OSSwapInt32( ^ fatal error: too many errors emitted, stopping now [-ferror-limit=]

Issue when compiling with iOS 9 SDK

I have ldid installed, and I'm using iOS 9 SDK with Linux, and I get this error
It happens with architecture set to armv7 and arm64

ld: file not found: /usr/lib/system/liblaunch.dylib for architecture arm64
arm64-apple-darwin14-clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
/opt/theos/makefiles/instance/library.mk:32: recipe for target '/home/test/.theos/obj/debug/arm64/Test.dylib' failed
make[3]: *** [/home/test/.theos/obj/debug/arm64/Test.dylib] Error 1
/opt/theos/makefiles/instance/library.mk:32: recipe for target '/home/test/.theos/obj/debug/arm64/Test.dylib' failed
make[2]: *** [/home/test/.theos/obj/debug/arm64/Test.dylib] Error 2
make[2]: *** Waiting for unfinished jobs....

ios give me error

2019-04-23 19:09:38.168930+0800 JAXAPP[358:13321] Error Domain=com.apple.ReplayKit.RPRecordingErrorDomain Code=-5815 "(null)"

Error importing Foundation/Foundation.h - Linux with iOS 16.5 sdk

What are the steps to reproduce this issue?

  1. #import <Foundation/Foundation.h>
  2. make

What happens?

  • Error when building

What were you expecting to happen?
Dylib build

Any logs, error output, etc?
Gist error link

What versions of software are you using?

Operating System: Linux (debian)

Toolchain Version: I don't know

SDK Version: 16.5

[TODO] Standardize presence/absence of libc++ headers

Currently provided by the Linux toolchains and some SDKS. Need to decide if we're going to follow Xcode, which I believe provides the headers in the SDKs, or not.

If keeping headers here, need to re-add to:
-12.4
-13.7
-14.5
and remove from Linux toolchains

Error while running make.

Whenever I run, make, on linux, within my tweak directory, I get the following error:

> Making all for tweak Test…
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (arm64)…
While building module 'Foundation' imported from /opt/theos/Prefix.pch:11:
In file included from <module-includes>:2:
In file included from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:128:
/opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h:26:49: error: nullability specifier '_Nullable' cannot be applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]')
- (instancetype)initWithUUIDBytes:(const uuid_t _Nullable)bytes;
                                                ^
/opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h:29:30: error: nullability specifier '_Nonnull' cannot be applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]')
- (void)getUUIDBytes:(uuid_t _Nonnull)uuid;
                             ^
In file included from <built-in>:1:
/opt/theos/Prefix.pch:11:11: fatal error: could not build module 'Foundation'
                #import <Foundation/Foundation.h>
                 ~~~~~~~^
While building module 'UIKit' imported from /opt/theos/Prefix.pch:20:
In file included from <module-includes>:2:
In file included from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:
/opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:9: fatal error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
 ~~~~~~~^
While building module 'UIKit' imported from /opt/theos/Prefix.pch:20:
While building module 'QuartzCore' imported from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
In file included from <module-includes>:1:
In file included from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:
In file included from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:10:
/opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:12:9: fatal error: could not build module 'Foundation'
#import <Foundation/NSValue.h>
 ~~~~~~~^
While building module 'UIKit' imported from /opt/theos/Prefix.pch:20:
While building module 'QuartzCore' imported from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
While building module 'OpenGLES' imported from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
In file included from <module-includes>:8:
In file included from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h:8:
/opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: fatal error: could not build module 'Foundation'
#include <Foundation/Foundation.h>
 ~~~~~~~~^
While building module 'UIKit' imported from /opt/theos/Prefix.pch:20:
While building module 'QuartzCore' imported from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
While building module 'OpenGLES' imported from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
While building module 'IOSurface' imported from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h:13:
In file included from <module-includes>:8:
/opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h:15:9: fatal error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
 ~~~~~~~^
While building module 'UIKit' imported from /opt/theos/Prefix.pch:20:
While building module 'QuartzCore' imported from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
While building module 'Metal' imported from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:7:
In file included from <module-includes>:2:
In file included from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:9:
/opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h:8:9: fatal error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
 ~~~~~~~^
While building module 'UIKit' imported from /opt/theos/Prefix.pch:20:
While building module 'CoreImage' imported from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
In file included from <module-includes>:2:
/opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:9:9: fatal error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
 ~~~~~~~^
While building module 'UIKit' imported from /opt/theos/Prefix.pch:20:
While building module 'CoreImage' imported from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
While building module 'CoreVideo' imported from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:
In file included from <module-includes>:2:
In file included from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29:
In file included from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:461:
/opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h:26:10: fatal error: could not build module 'IOSurface'
#include <IOSurface/IOSurfaceRef.h>
 ~~~~~~~~^
While building module 'UIKit' imported from /opt/theos/Prefix.pch:20:
While building module 'FileProvider' imported from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:
In file included from <module-includes>:1:
In file included from /opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h:8:
/opt/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:8:9: fatal error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
 ~~~~~~~^
11 errors generated.
/opt/theos/makefiles/instance/rules.mk:245: recipe for target '/home/drew/test/.theos/obj/debug/arm64/Tweak.xm.ba70a9a6.o' failed
make[3]: *** [/home/drew/test/.theos/obj/debug/arm64/Tweak.xm.ba70a9a6.o] Error 1
/opt/theos/makefiles/instance/library.mk:32: recipe for target '/home/drew/test/.theos/obj/debug/arm64/Test.dylib' failed
make[2]: *** [/home/drew/test/.theos/obj/debug/arm64/Test.dylib] Error 2
/opt/theos/makefiles/instance/library.mk:24: recipe for target 'internal-library-all_' failed
make[1]: *** [internal-library-all_] Error 2
/opt/theos/makefiles/master/rules.mk:123: recipe for target 'Test.all.tweak.variables' failed
make: *** [Test.all.tweak.variables] Error 2

Showing compile time error's in app with umbrella framework.

app showing compile time errors after added umbrella framework on Xcode9.2.

App only working on iphone 5c ,OS version 10.3.1.
Otherwise not able to compile the build or run on any OS 11.xx version devices.

Showing Recent Issues
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: While building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:

/Users/harmeet_singh/Documents/Bitbucket/BetaApp/:1:9: In file included from :1:

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:9: In file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:2: Module 'Security' was built in directory '/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Security.framework' but now resides in directory '/Users/harmeet_singh/Documents/Bitbucket/MyFrameworkName_v5/MyFrameworkName/Saltoframework/Security.framework'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:12:9: Could not build module 'Foundation'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: Could not build module 'Foundation'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h:15:9: Could not build module 'Foundation'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h:8:9: Could not build module 'Foundation'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:9:9: Could not build module 'Foundation'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h:26:10: Could not build module 'IOSurface'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:8:9: Could not build module 'Foundation'

/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: Could not build module 'UIKit'

Could not build Objective-C module 'MyFrameworkName'

CompileSwift normal arm64 /
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
:1:9: note: in file included from :1:
#import "Headers/UIKit.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:9: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:
#import <UIKit/UIAccelerometer.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:2: error: module 'Security' was built in directory '/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Security.framework' but now resides in directory '/Users/harmeet_singh/Documents/Bitbucket/MyFrameworkName_v5/MyFrameworkName/Saltoframework/Security.framework'
#import <Foundation/Foundation.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:2: note: imported by module 'Foundation' in '/Users/harmeet_singh/Library/Developer/Xcode/DerivedData/ModuleCache/3BJNJ273NZGRX/Foundation-3MPEI7EAYN1PT.pcm'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
:1:9: note: in file included from :1:
#import "Headers/QuartzCore.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:
#include <QuartzCore/CoreAnimation.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:10:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:10:
#include <QuartzCore/CATransform3D.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:12:9: error: could not build module 'Foundation'
#import <Foundation/NSValue.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:9: note: while building module 'OpenGLES' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
#import <OpenGLES/EAGLDrawable.h>
^
:1:9: note: in file included from :1:
#import "Headers/EAGLDrawable.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h:8:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h:8:
#include <OpenGLES/EAGL.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: error: could not build module 'Foundation'
#include <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:9: note: while building module 'OpenGLES' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
#import <OpenGLES/EAGLDrawable.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h:13:10: note: while building module 'IOSurface' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h:13:
#include <IOSurface/IOSurfaceRef.h>
^
:3:9: note: in file included from :3:
#import "Headers/IOSurfaceObjC.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h:15:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:7:9: note: while building module 'Metal' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:7:
#import <Metal/MTLPixelFormat.h>
^
:1:9: note: in file included from :1:
#import "Headers/Metal.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:9:9: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:9:
#import <Metal/MTLTypes.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h:8:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:9: note: while building module 'CoreImage' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
#import <CoreImage/CoreImage.h>
^
:1:9: note: in file included from :1:
#import "Headers/CoreImage.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:9:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:9: note: while building module 'CoreImage' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
#import <CoreImage/CoreImage.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:9: note: while building module 'CoreVideo' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:
#import <CoreVideo/CoreVideo.h>
^
:1:9: note: in file included from :1:
#import "Headers/CoreVideo.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29:
#include <CoreVideo/CVPixelBuffer.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:461:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:461:
#include <CoreVideo/CVPixelBufferIOSurface.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h:26:10: error: could not build module 'IOSurface'
#include <IOSurface/IOSurfaceRef.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:9: note: while building module 'FileProvider' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:
#import <FileProvider/NSFileProviderExtension.h>
^
:1:9: note: in file included from :1:
#import "Headers/FileProvider.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h:8:9: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h:8:
#import <FileProvider/NSFileProviderDomain.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:8:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
:1:9: note: in file included from :1:
#import "Headers/MyFrameworkName.h"
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: error: could not build module 'UIKit'
#import <UIKit/UIKit.h>
^
:0: error: could not build Objective-C module 'MyFrameworkName'

CompileSwift normal arm64
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
:1:9: note: in file included from :1:
#import "Headers/UIKit.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:9: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:
#import <UIKit/UIAccelerometer.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:2: error: module 'Security' was built in directory '/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Security.framework' but now resides in directory '/Users/harmeet_singh/Documents/Bitbucket/MyFrameworkName_v5/MyFrameworkName/Saltoframework/Security.framework'
#import <Foundation/Foundation.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:2: note: imported by module 'Foundation' in '/Users/harmeet_singh/Library/Developer/Xcode/DerivedData/ModuleCache/3BJNJ273NZGRX/Foundation-3MPEI7EAYN1PT.pcm'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
:1:9: note: in file included from :1:
#import "Headers/QuartzCore.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:
#include <QuartzCore/CoreAnimation.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:10:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:10:
#include <QuartzCore/CATransform3D.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:12:9: error: could not build module 'Foundation'
#import <Foundation/NSValue.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:9: note: while building module 'OpenGLES' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
#import <OpenGLES/EAGLDrawable.h>
^
:1:9: note: in file included from :1:
#import "Headers/EAGLDrawable.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h:8:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h:8:
#include <OpenGLES/EAGL.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: error: could not build module 'Foundation'
#include <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:9: note: while building module 'OpenGLES' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
#import <OpenGLES/EAGLDrawable.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h:13:10: note: while building module 'IOSurface' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h:13:
#include <IOSurface/IOSurfaceRef.h>
^
:3:9: note: in file included from :3:
#import "Headers/IOSurfaceObjC.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h:15:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:7:9: note: while building module 'Metal' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:7:
#import <Metal/MTLPixelFormat.h>
^
:1:9: note: in file included from :1:
#import "Headers/Metal.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:9:9: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:9:
#import <Metal/MTLTypes.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h:8:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:9: note: while building module 'CoreImage' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
#import <CoreImage/CoreImage.h>
^
:1:9: note: in file included from :1:
#import "Headers/CoreImage.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:9:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:9: note: while building module 'CoreImage' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
#import <CoreImage/CoreImage.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:9: note: while building module 'CoreVideo' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:
#import <CoreVideo/CoreVideo.h>
^
:1:9: note: in file included from :1:
#import "Headers/CoreVideo.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29:
#include <CoreVideo/CVPixelBuffer.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:461:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:461:
#include <CoreVideo/CVPixelBufferIOSurface.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h:26:10: error: could not build module 'IOSurface'
#include <IOSurface/IOSurfaceRef.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:9: note: while building module 'FileProvider' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:
#import <FileProvider/NSFileProviderExtension.h>
^
:1:9: note: in file included from :1:
#import "Headers/FileProvider.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h:8:9: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h:8:
#import <FileProvider/NSFileProviderDomain.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:8:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
:1:9: note: in file included from :1:
#import "Headers/MyFrameworkName.h"
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: error: could not build module 'UIKit'
#import <UIKit/UIKit.h>
^
:0: error: could not build Objective-C module 'MyFrameworkName'

How to enroll face within my App using private api

hi i want enroll face id with in my app and for that purpose i am loading BiometricUIKit framework(i know that private framework app will be rejected but i am creating this app for in house distribution)
In BiometricUIKit framework i am loading BKUIPearlEnrollController.h and when i click get started button i got this exception logs

"2019-07-23 17:17:16.656227+0500 biometricTest[1696:266901] [Framework-Internal] AssertMacros: err == 0 (value = 0x1003), file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/BiometricKit/BiometricKit-85.260.5/BiometricKit/BiometricKitXPCClient.m, line: 518
2019-07-23 17:17:16.656348+0500 biometricTest[1696:266901] [Framework-Internal] AssertMacros: [self initializeConnection] == 0 (value = 0x1003), file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/BiometricKit/BiometricKit-85.260.5/BiometricKit/BiometricKitXPCClient.m, line: 958
2019-07-23 17:17:16.656412+0500 biometricTest[1696:266901] [Framework-Internal] AssertMacros: cfgDict (value = 0x0), file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/BiometricKit/BiometricKit-85.260.5/BiometricKit/BKDevice.m, line: 209
2019-07-23 17:17:16.656446+0500 biometricTest[1696:266901] [Framework-API] BKDevice::protectedConfigurationForUser: -> (unlockEnabled:0,identificationEnabled:0,loginEnabled:0,applePayEnabled:0)
2019-07-23 17:17:16.657087+0500 biometricTest[1696:266901] [Framework-Internal] AssertMacros: err == 0 (value = 0x1003), file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/BiometricKit/BiometricKit-85.260.5/BiometricKit/BiometricKitXPCClient.m, line: 518
2019-07-23 17:17:16.657181+0500 biometricTest[1696:266901] [Framework-Internal] AssertMacros: status == 0 (value = 0x1003), file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/BiometricKit/BiometricKit-85.260.5/BiometricKit/BiometricKitXPCClient.m, line: 632
2019-07-23 17:17:16.657292+0500 biometricTest[1696:266901] [Framework-API] BKOperation::startOperation -> reply(0, Error Domain=com.apple.BiometricKit Code=1 "(null)")
2019-07-23 17:17:16.657382+0500 biometricTest[1696:266901] [Framework-API] BKEnrollPearlOperation:start -> 0 Error Domain=com.apple.BiometricKit Code=1 "(null)"
2019-07-23 17:17:16.657457+0500 bio
face1
face2

Make package always fails.

Ok, so whenever I try to build my tweak, it gives me a bunch of errors. Here is one of them:
/home/*username*/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h:8:9: fatal error: could not build module 'Darwin'
I am using Cygwin on Windows 10.

Unable to compile C++ with latest toolchain and 14.7 SDK

What are the steps to reproduce this issue?

  1. Create iPhone tool template
  2. Attempt to compile c++ code (replace main.m with main.cpp in Makefile)
#include <iostream>

int main() {
    std::cout << "Hello World!";
    return 0;
}

What happens?

Compilation fails

What were you expecting to happen?

Successful compilation

Any logs, error output, etc?

$ make
> Making all for tool exampletool…
==> Compiling main.cpp (armv7)…
/opt/theos/sdks/iPhoneOS14.7.sdk/usr/include/c++/v1/module.modulemap:4:8: error: redefinition of module 'std_config'
module std_config [system] [extern_c] {
       ^
/opt/theos/toolchain/linux/iphone/bin/../include/c++/v1/module.modulemap:4:8: note: previously defined here
module std_config [system] [extern_c] {
       ^
/opt/theos/sdks/iPhoneOS14.7.sdk/usr/include/c++/v1/module.modulemap:8:8: error: redefinition of module 'std'
module std [system] {
       ^
/opt/theos/toolchain/linux/iphone/bin/../include/c++/v1/module.modulemap:8:8: note: previously defined here
module std [system] {
       ^
...

==> Compiling main.cpp (arm64)…
/opt/theos/sdks/iPhoneOS14.7.sdk/usr/include/c++/v1/module.modulemap:4:8: error: redefinition of module 'std_config'
module std_config [system] [extern_c] {
       ^
/opt/theos/toolchain/linux/iphone/bin/../include/c++/v1/module.modulemap:4:8: note: previously defined here
module std_config [system] [extern_c] {
       ^
/opt/theos/sdks/iPhoneOS14.7.sdk/usr/include/c++/v1/module.modulemap:8:8: error: redefinition of module 'std'
module std [system] {
       ^
...

What versions of software are you using?

Operating System: Linux/Ubuntu 18.04

Toolchain Version: latest (non-swift) from instructions

SDK Version: 14.7 (generated by using the provided sdk create script)

iOS 11.2 SDK Foundation build error: Nullability specifier

Hello,
I'm new to tweak development and am trying to use theos to make a test tweak. When running make package I'm getting 11 errors (full file null_error.txt) that seem to stem from the Foundation module failing to compile.
I am using the up to date SDK from the repo, and I've also tried using the last sdk posted in #10. I'm developing on an ubuntu 16.04 machine
The first error is:

While building module 'Foundation' imported from /home/omar/theos/Prefix.pch:11:
In file included from <module-includes>:2:
In file included from /home/omar/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:128:
/home/omar/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h:26:49: error: nullability specifier '_Nullable' cannot be applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]')
- (instancetype)initWithUUIDBytes:(const uuid_t _Nullable)bytes;
                                                ^
/home/omar/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h:29:30: error: nullability specifier '_Nonnull' cannot be applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]')
- (void)getUUIDBytes:(uuid_t _Nonnull)uuid;

Then there are 10 more errors of the form:

n file included from <built-in>:1:
/home/omar/theos/Prefix.pch:11:11: fatal error: could not build module 'Foundation'
                #import <Foundation/Foundation.h>
                 ~~~~~~~^
While building module 'UIKit' imported from /home/omar/theos/Prefix.pch:20:
In file included from <module-includes>:2:
In file included from /home/omar/theos/sdks/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:

Undefined symbols for architecture _memset

What are the steps to reproduce this issue?

Running make

What happens?

Undefined symbols for architecture arm64:
"_memset", referenced from:
__logosLocalCtor_da9539da in Tweak.x.e79a9564.o
ld: symbol(s) not found for architecture arm64

What were you expecting to happen?

Compiled dylib

Any logs, error output, etc?

%ctor{

NSString *pfpath = [[NSBundle mainBundle] privateFrameworksPath];
for (NSString *dir in [[NSFileManager defaultManager] contentsOfDirectoryAtPath:pfpath error:NULL]) {
    NSMutableString *fpath = [pfpath mutableCopy];
    NSArray *components = [dir componentsSeparatedByString:@"."];
    NSString *fname = components[0];
    [fpath appendFormat:@"/%@/%@", dir, fname];
    dlopen([fpath UTF8String], RTLD_NOW);
}

My makfile:

TARGET = iphone:clang:10.3:10.0
ARCHS = arm64 arm64e
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = Tweakee
Tweakee_FILES = Tweak.x
Tweakee_CFLAGS = -fobjc-arc
include $(THEOS_MAKE_PATH)/tweak.mk

Any other comments?

If I comment out the for loop line inside ctor, then it compiles fine. I am not sure what this error got to do with NSFileManager!

What versions of software are you using?

Operating System:
macOS 10.14.6

Toolchain Version:
Xcode 10.3

SDK Version:
10.3 (patched)

iOS 10.3 sdk didn´t work

Undefined symbols for architecture armv7s:
"_memset", referenced from:
_logosLocalCtor_30ebfd71(int, char**, char**)
ld: symbol(s) not found for architecture armv7

Compilation succeed, but link failed.

Error with liblaunch.dylib:

> Making all for tool esplios…
==> Linking tool esplios (armv7)…
ld: in '/usr/lib/system/liblaunch.dylib', missing required architecture armv7 in file /usr/lib/system/liblaunch.dylib (2 slices) for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/enty8080/eggshell/src/esplios/.theos/obj/debug/armv7/esplios] Error 1
make[2]: *** [/Users/enty8080/eggshell/src/esplios/.theos/obj/debug/armv7/esplios] Error 2
make[1]: *** [internal-tool-all_] Error 2
make: *** [ios.all.tool.variables] Error 2

Also there is an error with libcrypto.a:

> Making all for tool esplios…
make[3]: *** No rule to make target `libcrypto.a', needed by `/Users/enty8080/eggshell/src/esplios/.theos/obj/debug/armv7/esplios'.  Stop.
make[2]: *** [/Users/enty8080/eggshell/src/esplios/.theos/obj/debug/armv7/esplios] Error 2
make[1]: *** [internal-tool-all_] Error 2
make: *** [ios.all.tool.variables] Error 2

System:

  • MacOS High Sierra 10.13.6
  • Xcode 7.2.1
  • SDK iPhoneOS9.3
  • Theos latest version

Compilation succeed, but link failed!

Missing "objc-ivars" in most .tbd library of the frameworks.

Greetings,

I was trying to compile a iphone/preference_bundle_modern using the 9.3 sdk from this repository and ran into this error.

==> Linking bundle sliderchangerprefs (armv7)…
Undefined symbols for architecture armv7:
  "_OBJC_IVAR_$_PSListController._specifiers", referenced from:
      -[SCRootListController specifiers] in SCRootListController.m.20751a0b.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [/Users/Kris/desktop/jailbreak/sliderchanger/.theos/obj/debug/armv7/sliderchangerprefs.bundle/sliderchangerprefs] Error 1
make[3]: *** [/Users/Kris/desktop/jailbreak/sliderchanger/.theos/obj/debug/armv7/sliderchangerprefs.bundle/sliderchangerprefs] Error 2
make[2]: *** [internal-bundle-all_] Error 2
make[1]: *** [sliderchangerprefs.all.bundle.variables] Error 2
make: *** [internal-all] Error 2

Previously, I was using the 9.2 sdk without any errors. After comparing the Preferences.tbd from the Preferences.framework of both the 9.2 and 9.3 sdks, I realized the one from 9.2 sdk comes with a objc-ivars section but not from 9.3 sdk, the same goes to most of the .tbd library. I assumed that is the cause of the errors.

I'm not an expert, but I tried my best to explain what I have found out.

Cheers! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.