Strange warnings from the linker (ld) [duplicate]

The solution proposed by xcode with boost : linker(Id) Warning about visibility settings doesn’t work: “Symbols hidden by default” has always been “YES”. This has less to do with being set to “YES”, and more to do with being set to the same value across all projects. Libs/projects that depend on other libs need to … Read more

Xcode 9 distribution build fails because format of exportOptions.plist has changed in new release

It appears you using manual code signing (deduced by the Export Options property list in your error message). You should probably switch to automatic code signing as recommended by Apple if it suits your needs. The problem appears to be that exportOptions.plist format is not compatible with Xcode 9. A bare bones distribution plist for … Read more

Xcode7 | Xcode UI Tests | How to handle location service alert?

Xcode 9 let springboard = XCUIApplication(bundleIdentifier: “com.apple.springboard”) let allowBtn = springboard.buttons[“Allow”] if allowBtn.exists { allowBtn.tap() } Xcode 8.3.3 _ = addUIInterruptionMonitor(withDescription: “Location Dialog”) { (alert) -> Bool in alert.buttons[“Allow”].tap() return true } app.buttons[“Request Location”].tap() app.tap() // need to interact with the app for the handler to fire Note that it is a bit different as … Read more

Passing primitives to an OCMock’s stub

It’s been awhile since this question has been asked but I ran into this issue myself and couldn’t find a solution anywhere. OCMock now supports ignoringNonObjectArgs so an example of an expect would be [[[mockObject expect] ignoringNonObjectArgs] someMethodWithPrimitiveArgument:5]; the 5 doesn’t actually do anything, just a filler value

Phonegap/Cordova Build error – Apple Mach-O Linker Error: no such file or directory: libCordova.a

What I found confusing with PhoneGap/Cordova 2.1.0 by upgrading from 1.4 is that there are TWO projects in my application. There is MyApplication.xcodeproj and CordovaLib.xcodeproj. The changes to resolve this issue need to be applied to the CordovaLib project. Change “Build Active Architecture Only” to “YES” Update the text file project.pbxproj to these values Toggle … Read more