Post

Replies

Boosts

Views

Activity

Xcode 11.4 issue: iOS xibs do not support target device type "iphone"
I've got a problem bulding a framework from the commandline. I want to build a framework that I want to use in multiple apps.Using XCode 11.4 and the appropriate command line tools, I cannot build it. It always leads to the following error when it wants to compile xibs:CompileXIB /Users/homeoffice/Entwicklung/iOS-Entwicklung/hr-appcommons-ios/appcommons/SophoraDocument/View/Views/Document/GeoTagCollectionCell.xib (in target 'appcommons' from project 'appcommons') cd /Users/homeoffice/Entwicklung/iOS-Entwicklung/hr-appcommons-ios export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/.. /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --platform macosx --module appcommons --output-partial-info-plist /Users/homeoffice/Entwicklung/iOS-Entwicklung/hr-appcommons-ios/build/appcommons.build/Release-iphoneos/appcommons.build/GeoTagCollectionCell-PartialInfo.plist --auto-activate-custom-fonts --target-device iphone --target-device ipad --minimum-deployment-target 13.1 --output-format human-readable-text --compile /Users/homeoffice/Entwicklung/iOS-Entwicklung/hr-appcommons-ios/build/Release-iphoneos/appcommons.framework/GeoTagCollectionCell.nib /Users/homeoffice/Entwicklung/iOS-Entwicklung/hr-appcommons-ios/appcommons/SophoraDocument/View/Views/Document/GeoTagCollectionCell.xib /* com.apple.ibtool.errors */ /Users/homeoffice/Entwicklung/iOS-Entwicklung/hr-appcommons-ios/appcommons/SophoraDocument/View/Views/Document/GeoTagCollectionCell.xib: error: iOS xibs do not support target device type "iphone".Using XCode 11.3.1 and the approproate command line tools, the build works and compileing the exact same xib is just fine:CompileXIB /Users/homeoffice/Entwicklung/iOS-Entwicklung/hr-appcommons-ios/appcommons/SophoraDocument/View/Views/Document/GeoTagCollectionCell.xib (in target 'appcommons' from project 'appcommons') cd /Users/homeoffice/Entwicklung/iOS-Entwicklung/hr-appcommons-ios export XCODE_DEVELOPER_USR_PATH="/Applications/Xcode 11.3.1.app/Contents/Developer/usr/bin/.." /Applications/Xcode\ 11.3.1.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --platform macosx --target-device ipad --module appcommons --output-partial-info-plist /Users/homeoffice/Entwicklung/iOS-Entwicklung/hr-appcommons-ios/build/appcommons.build/Release-iphonesimulator/appcommons.build/GeoTagCollectionCell-PartialInfo.plist --auto-activate-custom-fonts --minimum-deployment-target 13.1 --output-format human-readable-text --compile /Users/homeoffice/Entwicklung/iOS-Entwicklung/hr-appcommons-ios/build/Release-iphonesimulator/appcommons.framework/GeoTagCollectionCell.nib /Users/homeoffice/Entwicklung/iOS-Entwicklung/hr-appcommons-ios/appcommons/SophoraDocument/View/Views/Document/GeoTagCollectionCell.xib 2020-04-15 10:59:37.608 ibtoold[20964:142218] DEBUG: Added to environment: { CFStringDisableROM = 1; }It seems like the programm ibtool in XCode 11.4 is placing an extra parameter --target-device iphone and this target device is unknown.Interestingly, I can build the framework within XCode. I can archive it and use ist.With the commandline, however, it fails.I am building like so:xcodebuild -project appcommons.xcodeproj -scheme build-framework -configuration Release clean buildAny ideas?
5
0
2.4k
Apr ’20
Scroll to top and show large navigation bar (UITableView)
I want to implement a similar behavior to when a user taps the status bar: The table view scrolls to the top and shows the navigation bar with the large title. If I call tableView.scrollToRow(at: IndexPath(row: 0, section: 0), at: .top, animated: true) the tableView scrolls to the top but only shows the navigation bar with a small title. I want to integrate this feature into the tabbar like a lot of apps do this including Apple Music, WhatsApp, etc. Any ideas?
0
0
624
Jun ’20