Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XMPPvCardTempEmail exits process on +initialize() #1050

Closed
Germandrummer92 opened this issue Apr 11, 2018 · 0 comments · Fixed by #1162
Closed

XMPPvCardTempEmail exits process on +initialize() #1050

Germandrummer92 opened this issue Apr 11, 2018 · 0 comments · Fixed by #1162

Comments

@Germandrummer92
Copy link

Germandrummer92 commented Apr 11, 2018

Hi,

we're dealing with vCards right now. The XMPPvCardTempEmail class is broken on XCode 9.2 with iphone 5s (or newer models). This basic XCTest fails:

import XCTest  
import XMPPFramework

class XMPPvCardTempEmailTest: XCTestCase { 
  
    func testXMPPvCardEmail() {  
        _ = XMPPvCardTempEmail(name: "Hello", numberValue: 1)  
    }  
  
} 

Error Message:

2018-04-11 15:04:54.487509+0200 Messenger[96373:4956473] Adding instance variables to XMPPvCardTempEmail is not currently supported!

The failing check (after debugging):

size_t superSize = class_getInstanceSize([NSXMLElement class]); //size is 24
	size_t ourSize   = class_getInstanceSize([XMPPvCardTempEmail class]); //size is 32
	
	if (superSize != ourSize)

We think it's a 64 bit issue, but didn't have a readily available 32 bit setup, so not 100 % sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant