Post

Replies

Boosts

Views

Activity

ProcessXCFramework - Issue with file copy to build output directory
Hi all, I need to add 4 xcframeworks to my project (https://github.com/Adobe-Marketing-Cloud/acp-sdks). All is well, but when I try to build the project I get the following error. ProcessXCFramework /Users/.../Adobe/ACPMobileServices.xcframework (in target 'BBComponents' from project 'BBComponents') cd /Users/.../BBComponents builtin-process-xcframework --xcframework /Users/.../Adobe/ACPMobileServices.xcframework --platform ios --target-path /Users/.../DerivedData/RuleThemAll-bioqydlyyehouvhccqiqnkchgfrq/Build/Products/DEV-iphoneos error: “.DS_Store” couldn’t be copied to “include” because an item with the same name already exists. (in target 'BBComponents' from project 'BBComponents') I already tried to delete the .DS_Store files, but those just keep popping up. If I however manually copy the different header files to the build output directory, it works. But of course this is not a solution we can use within our team. Any help is much appreciated. Kind regards, Frederik
1
0
769
Apr ’21
Custom ViewController height for UIPresentationController
Hi all,I’m trying to create a custom presentationcontroller, but I’m having the following issue.The view controller that is presented, should slide in from the bottom and only cover a part of the screen (like the Apple Pay sheet in iOS11), but in my case the height of the view controller that will be shown is dynamic.When you implement a presentationcontroller, you override the frameOfPresentedViewInContainerViewproperty. In my case I have this:override var frameOfPresentedViewInContainerView: CGRect { var newFrame = CGRect.zero if let width = containerView?.bounds.width, let height = containerView?.bounds.height { newFrame.origin = CGPoint(x: 0, y: height - 100) newFrame.size = CGSize(width: width, height: 100) } return newFrame }But I want to get rid of the height: 100, (on line 7) this has to be dynamic. But I can’t seem to find a way to get the calculated AutoLayout height of my presented viewcontroller. Anyone who know how to do this?This is a screenshot of what I'm trying to do => https://www.dropbox.com/s/9s8odfy6hjnnnrx/Screen_Shot_2017_06_05_at_3.58.50_PM.png?dl=0Kind regards, and thanks in advance.
2
0
3.8k
Oct ’17